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

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis
2007-10-28 18:50:06 +00:00
parent 872978fccb
commit 6fe4c1b327

View File

@@ -322,7 +322,12 @@ enum wxFileKind
#ifdef wxHAS_HUGE_FILES
#define wxStat wxPOSIX_IDENT(stati64)
#else
#define wxStat wxPOSIX_IDENT(stat)
// Unfortunately Watcom is not consistent, so:-
#if defined(__OS2__) && defined(__WATCOMC__)
#define wxStat _stat
#else
#define wxStat wxPOSIX_IDENT(stat)
#endif
#endif
#endif // wxUSE_UNICODE/!wxUSE_UNICODE