]> git.saurik.com Git - wxWidgets.git/commitdiff
OW 1.4 preparation.
authorWłodzimierz Skiba <abx@abx.art.pl>
Wed, 9 Nov 2005 21:04:54 +0000 (21:04 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Wed, 9 Nov 2005 21:04:54 +0000 (21:04 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/filefn.h

index 8995c44d1cbcf131734a9cbdd4ba0ee2448a6c7e..8f5f8adac0ca5876b4955100cf477ce0c7bf391f 100644 (file)
@@ -274,16 +274,17 @@ enum wxFileKind
         #endif
     #endif
 
-    // 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 wxHAS_HUGE_FILES
-        #if wxUSE_UNICODE && defined(__WATCOMC__)
+        #if wxUSE_UNICODE && defined(__WATCOMC__) && __WATCOMC__ < 1240
             #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