>>This code gives me the following error for the line where the typedef is:
windows.h already defines TRUE and FALSE, which are #define's, not typedefs. I suppose you could undefine them before that typedef, but that could cause many other problems with win32 api functions.
>>or can I only use #if defined(_WIN32) && defined(PERFORMANCE_METING) for that?
Yes. But then you could have tried it yourself to find out.
Last edited by Ancient Dragon; Feb 24th, 2010 at 3:20 pm.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2281
Retired and Enjoying Life
Offline 21,938 posts
since Aug 2005