Applied patch #1821711 (workaround for Watcom inconsistency wrt Posix functions)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis
2007-10-28 18:52:46 +00:00
parent 7f2689be39
commit 1044b90c1b

View File

@@ -325,9 +325,14 @@ enum wxFileKind
#define wxCRT_RmDir wxPOSIX_IDENT(rmdir)
#ifdef wxHAS_HUGE_FILES
#define wxCRT_Stat wxPOSIX_IDENT(stati64)
#else
// Unfortunately Watcom is not consistent, so:-
#if defined(__OS2__) && defined(__WATCOMC__)
#define wxCRT_Stat _stat
#else
#define wxCRT_Stat wxPOSIX_IDENT(stat)
#endif
#endif
#endif // wxUSE_UNICODE/!wxUSE_UNICODE
// Types: Notice that Watcom is the only compiler to have a wide char