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:
@@ -279,15 +279,16 @@ enum wxSeekMode
|
|||||||
#endif
|
#endif
|
||||||
#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 __HUGEFILES_SUPPORTED
|
||||||
#if wxUSE_UNICODE
|
#if wxUSE_UNICODE && defined(__WATCOMC__)
|
||||||
#define wxStructStat struct _wstati64
|
#define wxStructStat struct _wstati64
|
||||||
#else
|
#else
|
||||||
#define wxStructStat struct _stati64
|
#define wxStructStat struct _stati64
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
#if wxUSE_UNICODE
|
#if wxUSE_UNICODE && defined(__WATCOMC__)
|
||||||
#define wxStructStat struct _wstat
|
#define wxStructStat struct _wstat
|
||||||
#else
|
#else
|
||||||
#define wxStructStat struct _stat
|
#define wxStructStat struct _stat
|
||||||
|
Reference in New Issue
Block a user