Harton
Member
|
TOKEN_TYPE enum redefinition
Hello,
I had to add a <windows.h> file to our project. When compiled editor, occurred error: 'TOKEN_TYPE' : redefinition; different basic types. Enums of the same name are in the files: ce token.h and winnt.h. Can you change the name of your enum?
|
|
02-19-2013 04:22 PM |
|
Esenthel
Administrator
|
RE: TOKEN_TYPE enum redefinition
please add this:
#define TOKEN_TYPE WinTOKEN_TYPE
#define TokenType WinTokenType
before including windows headers
and this:
#undef TOKEN_TYPE
#undef TokenType
after including windows headers
|
|
02-20-2013 03:23 PM |
|
Harton
Member
|
RE: TOKEN_TYPE enum redefinition
Thanks!
|
|
02-20-2013 11:54 PM |
|