git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49508
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#ifdef wxHAS_HUGE_FILES
#define wxCRT_Stat wxPOSIX_IDENT(stati64)
#else
#ifdef wxHAS_HUGE_FILES
#define wxCRT_Stat wxPOSIX_IDENT(stati64)
#else
- #define wxCRT_Stat wxPOSIX_IDENT(stat)
+ // 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
#endif
#endif // wxUSE_UNICODE/!wxUSE_UNICODE