X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/78868257aa40d8ce16d8726ecf265763601d4ef9..b08c90ca63723536960122fc798f673af1faed13:/src/common/wxchar.cpp diff --git a/src/common/wxchar.cpp b/src/common/wxchar.cpp index 230a9338ac..846e7d5058 100644 --- a/src/common/wxchar.cpp +++ b/src/common/wxchar.cpp @@ -1205,28 +1205,6 @@ WXDLLEXPORT long int wxStrtol(const wxChar *nptr, wxChar **endptr, int base) } #endif // wxNEED_WX_STRING_H -#if defined(__WXMAC__) && !defined(__DARWIN__) && !wxUSE_UNICODE -WXDLLEXPORT FILE * wxFopen(const wxChar *path, const wxChar *mode) -{ - return fopen( wxMacStringToCString(path), mode ); -} - -WXDLLEXPORT FILE * wxFreopen(const wxChar *path, const wxChar *mode, FILE *stream) -{ - return freopen( wxMacStringToCString(path), mode, stream ); -} - -WXDLLEXPORT int wxRemove(const wxChar *path) -{ - return remove( wxMacStringToCString(path) ); -} - -WXDLLEXPORT int wxRename(const wxChar *oldpath, const wxChar *newpath) -{ - return rename( wxMacStringToCString(oldpath), wxMacStringToCString(newpath) ); -} -#endif - #ifdef wxNEED_WX_STDIO_H WXDLLEXPORT FILE * wxFopen(const wxChar *path, const wxChar *mode) { @@ -1412,12 +1390,14 @@ int isascii( int c ) #endif #if defined(__WXWINCE__) +#if (_WIN32_WCE < 300) void *calloc( size_t num, size_t size ) { void** ptr = (void **)malloc(num * size); memset( ptr, 0, num * size); return ptr; } +#endif #if (_WIN32_WCE <= 211) int isspace(int c) @@ -1427,3 +1407,4 @@ int isspace(int c) #endif #endif +