compilation fix for Unicode mode after huge file patch: Watcom is the only compiler to have a wide char version of struct stat as well as of the stat function itself
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
2e2b69eece
commit
e302e0c167
@ -279,15 +279,16 @@ enum wxSeekMode
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// types
|
||||
// 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
|
||||
#if __HUGEFILES_SUPPORTED
|
||||
#if wxUSE_UNICODE
|
||||
#if wxUSE_UNICODE && defined(__WATCOMC__)
|
||||
#define wxStructStat struct _wstati64
|
||||
#else
|
||||
#define wxStructStat struct _stati64
|
||||
#endif
|
||||
#else
|
||||
#if wxUSE_UNICODE
|
||||
#if wxUSE_UNICODE && defined(__WATCOMC__)
|
||||
#define wxStructStat struct _wstat
|
||||
#else
|
||||
#define wxStructStat struct _stat
|
||||
|
Loading…
Reference in New Issue
Block a user