electroman2000
Member level 2
Yes I did it. The resultant integer.h have this form:I'm not clear what you have done when you say you removed the "#ifdef" - does that mean you removed the whole section to the matching "#else" and also the matching "#endif"?
Susan
Code:
/* This type MUST be 8 bit */
typedef unsigned char BYTE;
/* These types MUST be 16 bit */
typedef short SHORT;
typedef unsigned short WORD;
typedef unsigned short WCHAR;
/* These types MUST be 16 bit or 32 bit */
typedef int INT;
typedef unsigned int UINT;
/* These types MUST be 32 bit */
typedef long LONG;
typedef unsigned long DWORD;
However, looking at the original integer.h, I can't explain why my compiler go inside the #endif "_WIN32". At the begin of the compilation I didn't give it a command, so I think the compiler should have skip this endif and go to the else, ignoring windows.h and tchar.h.