]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix for Unicode mode after huge file patch: Watcom is the only compiler...
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 26 Sep 2004 13:55:29 +0000 (13:55 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 26 Sep 2004 13:55:29 +0000 (13:55 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/filefn.h

index b0bd0320714ea14fe3e5a35be3ef4e569ffbbf7d..ed7938097371fe16b4db4016841149c845c40003 100644 (file)
@@ -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