]> git.saurik.com Git - wxWidgets.git/commitdiff
Identify OS/2 by defining __OS2__.
authorStefan Neis <Stefan.Neis@t-online.de>
Sun, 21 Sep 2003 23:56:02 +0000 (23:56 +0000)
committerStefan Neis <Stefan.Neis@t-online.de>
Sun, 21 Sep 2003 23:56:02 +0000 (23:56 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

configure.in
setup.h.in

index ef25fc23ca3f64eb4c1879a7cb3ad6265b9e3dc0..9130131f6b1c40b18bb80f62d45db59d7d01a4a9 100644 (file)
@@ -290,6 +290,7 @@ case "${host}" in
   *-pc-os2_emx | *-pc-os2-emx )
     AC_DEFINE(__EMX__)
     USE_OS2=1
+    AC_DEFINE(__OS2__)
     PROGRAM_EXT=".exe"
     DEFAULT_DEFAULT_wxUSE_PM=1
     dnl "c++" wrapper is not always available, so always use plain gcc.
index a2ad505a0794c0ba79fd02b941056bca31e68df0..3d02255d6f1a48c176ced68f34eca24586f15fe0 100644 (file)
 #undef WINVER
 #endif
 
+/* OS/2 with EMX */
+#undef __OS2__
+
 /* enable native status bar under Win32 */
 #if defined(__WIN95__) && !defined(__WXUNIVERSAL__)
 #define wxUSE_NATIVE_STATUSBAR 1