X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4367345099df9e276e4805147ac40ec3e0349021..b6e2eddeaf7e559589ce41ac41e88f9bd71c5a08:/include/wx/wxchar.h diff --git a/include/wx/wxchar.h b/include/wx/wxchar.h index 3b34a8f848..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 @@ -339,8 +339,12 @@ #define wxRemove wxMSLU__tremove #define wxRename wxMSLU__trename #else - #define wxRemove _tremove - #define wxRename _trename + #ifdef __WXWINCE__ + #define wxRemove DeleteFile + #else + #define wxRemove _tremove + #define wxRename _trename + #endif #endif // stdlib.h functions @@ -923,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 // ----------------------------------------------------------------------------