Remove support for Win9x from wxMSW.
Most importantly, this allows us to remove all MSLU-related stuff. Some functions which were previously loaded dynamically can now be just used directly, too. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -359,35 +359,12 @@ enum wxPosixPermissions
|
||||
|
||||
// finally the default char-type versions
|
||||
#if wxUSE_UNICODE
|
||||
#if wxUSE_UNICODE_MSLU || defined(__WX_STRICT_ANSI_GCC__)
|
||||
// implement the missing file functions in Win9x ourselves
|
||||
WXDLLIMPEXP_BASE int wxMSLU__wopen(const wxChar *name,
|
||||
int flags, int mode);
|
||||
WXDLLIMPEXP_BASE int wxMSLU__waccess(const wxChar *name,
|
||||
int mode);
|
||||
WXDLLIMPEXP_BASE int wxMSLU__wchmod(const wxChar *name,
|
||||
int mode);
|
||||
WXDLLIMPEXP_BASE int wxMSLU__wmkdir(const wxChar *name);
|
||||
WXDLLIMPEXP_BASE int wxMSLU__wrmdir(const wxChar *name);
|
||||
|
||||
WXDLLIMPEXP_BASE int
|
||||
wxMSLU__wstat(const wxChar *name, wxStructStat *buffer);
|
||||
|
||||
#define wxCRT_Open wxMSLU__wopen
|
||||
|
||||
#define wxCRT_Access wxMSLU__waccess
|
||||
#define wxCRT_Chmod wxMSLU__wchmod
|
||||
#define wxCRT_MkDir wxMSLU__wmkdir
|
||||
#define wxCRT_RmDir wxMSLU__wrmdir
|
||||
#define wxCRT_Stat wxMSLU__wstat
|
||||
#else // !wxUSE_UNICODE_MSLU
|
||||
#define wxCRT_Open wxCRT_OpenW
|
||||
#define wxCRT_Access wxCRT_AccessW
|
||||
#define wxCRT_Chmod wxCRT_ChmodW
|
||||
#define wxCRT_MkDir wxCRT_MkDirW
|
||||
#define wxCRT_RmDir wxCRT_RmDirW
|
||||
#define wxCRT_Stat wxCRT_StatW
|
||||
#endif // wxUSE_UNICODE_MSLU/!wxUSE_UNICODE_MSLU
|
||||
#define wxCRT_Open wxCRT_OpenW
|
||||
#define wxCRT_Access wxCRT_AccessW
|
||||
#define wxCRT_Chmod wxCRT_ChmodW
|
||||
#define wxCRT_MkDir wxCRT_MkDirW
|
||||
#define wxCRT_RmDir wxCRT_RmDirW
|
||||
#define wxCRT_Stat wxCRT_StatW
|
||||
#else // !wxUSE_UNICODE
|
||||
#define wxCRT_Open wxCRT_OpenA
|
||||
#define wxCRT_Access wxCRT_AccessA
|
||||
|
Reference in New Issue
Block a user