#if defined(UNICODE) && !defined(_UNICODE)
#define _UNICODE
#elif defined(_UNICODE) && !defined(UNICODE)
#define UNICODE
#endif
this is the header for the default win32 c++ app on codeblocks
It ensures that both UNICODE
and _UNICODE
are defined if one of them is.