Fixes after removal of palmos/gccpriv.h.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba 2005-01-19 06:48:42 +00:00
parent b1d22ded8d
commit a0be690852
2 changed files with 14 additions and 5 deletions

View File

@ -508,6 +508,12 @@
# include "wx/msw/wince/libraries.h"
#endif
/* Force inclusion of main PalmOS header: */
#ifdef __WXPALMOS__
# include <PalmOS.h>
# undef Abs
#endif
/*
This macro can be used to test the gcc version and can be used like this:
@ -526,12 +532,14 @@
This macro can be used to check that the version of mingw32 compiler is
at least maj.min
*/
#if defined(__WXPALMOS__)
# include "wx/palmos/gccpriv.h"
#elif ( defined( __GNUWIN32__ ) || defined( __MINGW32__ ) || \
#if ( defined( __GNUWIN32__ ) || defined( __MINGW32__ ) || \
defined( __CYGWIN__ ) || \
(defined(__WATCOMC__) && __WATCOMC__ >= 1200) ) && \
!defined(__DOS__) && !defined(__WXMOTIF__) && !defined(__WXGTK__) && !defined(__WXX11__)
!defined(__DOS__) && \
!defined(__WXMOTIF__) && \
!defined(__WXGTK__) && \
!defined(__WXX11__) && \
!defined(__WXPALMOS__)
# include "wx/msw/gccpriv.h"
#else
# undef wxCHECK_W32API_VERSION

View File

@ -132,7 +132,8 @@ inline int Stricmp(const char *psz1, const char *psz2)
return stricmp(psz1, psz2);
#elif defined(__WXPM__)
return stricmp(psz1, psz2);
#elif defined(HAVE_STRCASECMP_IN_STRING_H) || \
#elif defined(__WXPALMOS__) || \
defined(HAVE_STRCASECMP_IN_STRING_H) || \
defined(HAVE_STRCASECMP_IN_STRINGS_H) || \
defined(__GNUWIN32__)
return strcasecmp(psz1, psz2);