// we are setting this define because of the complex check
// using NORLANDER as Cygwin may follow. (header author is Anders Norlander)
#if defined(__MINGW32__) && ((__GNUC__>2) ||((__GNUC__==2) && (__GNUC_MINOR__>=95)))
-#ifndef wxUSE_NORLANDER_HEADERS
-# define wxUSE_NORLANDER_HEADERS 1
-#endif
+ #ifndef wxUSE_NORLANDER_HEADERS
+ #define wxUSE_NORLANDER_HEADERS 1
+ #endif
+#else
+ #ifndef wxUSE_NORLANDER_HEADERS
+ #define wxUSE_NORLANDER_HEADERS 0
+ #endif
#endif
// "old" GNUWIN32 is the one without Norlander's headers: it lacks the standard
#endif
// the keywords needed for WinMain() declaration
+
#ifdef __WIN16__
- #ifndef FAR
#ifdef __VISUALC__
- #define FAR __far
+ #define WXFAR __far
#else // !VC++
- #define FAR _far
+ #define WXFAR _far
#endif
- #endif // no FAR
#else // Win32
- #ifndef FAR
- #define FAR
+ #ifndef WXFAR
+ #define WXFAR
#endif
#endif // Win16/32