X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5e9670446ab3bb894f2898167d7fd070af98fcaf..25474dcaded8b33e5e21512616b52a3d196d5015:/include/wx/wxchar.h diff --git a/include/wx/wxchar.h b/include/wx/wxchar.h index 5cac45dfc9..c7e516acf3 100644 --- a/include/wx/wxchar.h +++ b/include/wx/wxchar.h @@ -12,7 +12,7 @@ #ifndef _WX_WXCHAR_H_ #define _WX_WXCHAR_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "wxchar.h" #endif @@ -927,6 +927,17 @@ WXDLLIMPEXP_BASE int wxSystem(const wxChar *psz); const wxChar *fmt, const struct tm *tm); #endif // wxNEED_WX_TIME_H +// missing functions in WinCE +#ifdef __WXWINCE__ +WXDLLIMPEXP_BASE char* strdup(const char* s); +WXDLLIMPEXP_BASE void *calloc( size_t num, size_t size ); + +#if _WIN32_WCE <= 211 +WXDLLIMPEXP_BASE int isspace(int c); +WXDLLIMPEXP_BASE int isascii( int c ); +#endif +#endif + // ---------------------------------------------------------------------------- // multibyte to wide char conversion functions and macros // ----------------------------------------------------------------------------