Identify OS/2 by defining __OS2__.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis
2003-09-21 23:56:02 +00:00
parent 4e5bbd4022
commit ff3985971d
2 changed files with 4 additions and 0 deletions

View 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.

View File

@@ -125,6 +125,9 @@
#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