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:
@@ -322,7 +322,12 @@ enum wxFileKind
|
|||||||
#ifdef wxHAS_HUGE_FILES
|
#ifdef wxHAS_HUGE_FILES
|
||||||
#define wxStat wxPOSIX_IDENT(stati64)
|
#define wxStat wxPOSIX_IDENT(stati64)
|
||||||
#else
|
#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
|
||||||
#endif // wxUSE_UNICODE/!wxUSE_UNICODE
|
#endif // wxUSE_UNICODE/!wxUSE_UNICODE
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user