X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4055ed8281971e3d35bf04177193c27043d42ed1..34c9978dac9a0120731737d5c6c5f629d1ace32b:/include/wx/filefn.h diff --git a/include/wx/filefn.h b/include/wx/filefn.h index 2428a97d29..5ca33390f9 100644 --- a/include/wx/filefn.h +++ b/include/wx/filefn.h @@ -142,26 +142,11 @@ enum wxSeekMode wxFileOffset wxSeek(int fd, wxFileOffset offset, int origin); #define wxLSeek wxSeek wxFileOffset wxTell(int fd); - - #if wxUSE_UNICODE - #if wxUSE_UNICODE_MSLU - #define wxMkDir wxMSLU__wmkdir - #define wxRmDir wxMSLU__wrmdir - #define wxStat wxMSLU__wstat - #else - #define wxMkDir _wmkdir - #define wxRmDir _wrmdir - #define wxStat _wstat - #endif - #else // !wxUSE_UNICODE - #define wxMkDir _mkdir - #ifdef __WATCOMC__ - #define wxRmDir rmdir - #else - #define wxRmDir _rmdir - #endif - #define wxStat _stat - #endif + + // always Unicode under WinCE + #define wxMkDir _wmkdir + #define wxRmDir _wrmdir + #define wxStat _wstat #define wxStructStat struct _stat // Microsoft compiler loves underscores, feed them to it