git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36143
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
- // types: notice that Watcom is the only compiler to have a wide char
- // version of struct stat as well as a wide char stat function variant
+ // Types: Notice that Watcom is the only compiler to have a wide char
+ // version of struct stat as well as a wide char stat function variant.
+ // This was droped since OW 1.4 "for consistency across platforms".
- #if wxUSE_UNICODE && defined(__WATCOMC__)
+ #if wxUSE_UNICODE && defined(__WATCOMC__) && __WATCOMC__ < 1240
#define wxStructStat struct _wstati64
#else
#define wxStructStat struct _stati64
#endif
#else
#define wxStructStat struct _wstati64
#else
#define wxStructStat struct _stati64
#endif
#else
- #if wxUSE_UNICODE && defined(__WATCOMC__)
+ #if wxUSE_UNICODE && defined(__WATCOMC__) && __WATCOMC__ < 1240
#define wxStructStat struct _wstat
#else
#define wxStructStat struct _stat
#define wxStructStat struct _wstat
#else
#define wxStructStat struct _stat