From e302e0c1672c9a08fd84939c60898c86aeb823c8 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 26 Sep 2004 13:55:29 +0000 Subject: [PATCH] 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 --- include/wx/filefn.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/wx/filefn.h b/include/wx/filefn.h index b0bd032071..ed79380973 100644 --- a/include/wx/filefn.h +++ b/include/wx/filefn.h @@ -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 -- 2.50.0