]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/filefn.h
native font dialog implementation for mac os x 10.2+
[wxWidgets.git] / 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