using #define in a .pch
- by ML
Hello All,
If I define something in a pre-compiled header like:
#define __BUILD_MAC__
and then in a header file do:
#ifdef __BUILD_MAC__
typedef void* HINSTANCE;
#endif
This should work. But for some reason It isn't. I know because when I compile I get errors about HINSTANCE not naming a type.
Do I need to do anything else to make these defines available?