include this one!
*/
+#if !defined(__WXPALMOS5__)
#include <stdio.h>
#include <string.h>
#include <ctype.h>
-#include <wctype.h>
+#if defined(__WXPALMOS__)
+ #include <wchar.h>
+#else
+ #include <wctype.h>
+#endif
#include <time.h>
+#endif
#if defined(__WINDOWS__) && !defined(__WXWINCE__)
#include <io.h>
#define wxCRT_StrstrW wcsstr
/* these functions are not defined under CE, at least in VC8 CRT */
-#ifndef __WXWINCE__
+#if !defined(__WXWINCE__) && !defined(__WXPALMOS__)
#define wxCRT_StrcollA strcoll
#define wxCRT_StrxfrmA strxfrm
* versions */
#if !defined(wxCRT_StricmpA)
#if defined(__BORLANDC__) || defined(__WATCOMC__) || \
- defined(__SALFORDC__) || defined(__VISAGECPP__) || \
+ defined(__VISAGECPP__) || \
defined(__EMX__) || defined(__DJGPP__)
#define wxCRT_StricmpA stricmp
#define wxCRT_StrnicmpA strnicmp
* quick hack should do until one can be written.
*/
#define wxCRT_StricmpA StrCaselessCompare
- #define wxCRT_StrnicmpA strnicmp
+ #define wxCRT_StrnicmpA StrNCaselessCompare
#elif defined(__SYMANTEC__) || defined(__VISUALC__) || \
(defined(__MWERKS__) && defined(__INTEL__))
#define wxCRT_StricmpA _stricmp
stdio.h
------------------------------------------------------------------------- */
-#if defined(__UNIX__) || defined(__WXMAC__)
+#if defined(__UNIX__) || defined(__WXMAC__) || defined(__WXPALMOS__)
#define wxMBFILES 1
#else
#define wxMBFILES 0
#if defined(__MWERKS__) && defined(__MSL__)
#define wxNEED_WX_MBSTOWCS
#endif
+#if defined(__WXPALMOS__)
+ #define wxNEED_WX_MBSTOWCS
+#endif
#ifdef __DARWIN__
#if MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_2