]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/wxchar.h
added support for POST method and alternate ports (part of patch 649438)
[wxWidgets.git] / include / wx / wxchar.h
index d03f72b05914f8352d7d9e4ee046144e7c11d09d..3b34a8f848604e6aa062bb7e622bfe1912ab8fec 100644 (file)
         #define  wxStrxfrm   strxfrm
 
         // stdio.h functions
+        #if defined(__WXMAC__) && !defined(__DARWIN__)
+        #include <stdio.h>
+        WXDLLIMPEXP_BASE FILE *   wxFopen(const wxChar *path, const wxChar *mode);
+        WXDLLIMPEXP_BASE FILE *   wxFreopen(const wxChar *path, const wxChar *mode, FILE *stream);
+        WXDLLIMPEXP_BASE int      wxRemove(const wxChar *path);
+        WXDLLIMPEXP_BASE int      wxRename(const wxChar *oldpath, const wxChar *newpath);
+        #else
         #define  wxFopen     fopen
         #define  wxFreopen   freopen
-        #define  wxPerror    perror
         #define  wxRemove    remove
         #define  wxRename    rename
+        #endif
+        #define  wxPerror    perror
         #define  wxTmpnam    tmpnam
 
         #define  wxFgetc     fgetc