]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/filefn.h
corrected/removed forward declarations
[wxWidgets.git] / include / wx / filefn.h
index 9be5072ab905380cdaf38d9491319a44ad113c2a..ba57e3800161481fc842ffcebefe1b4e37981260 100644 (file)
@@ -326,7 +326,12 @@ enum wxFileKind
         #ifdef wxHAS_HUGE_FILES
             #define   wxCRT_Stat       wxPOSIX_IDENT(stati64)
         #else
-            #define   wxCRT_Stat       wxPOSIX_IDENT(stat)
+            // Unfortunately Watcom is not consistent, so:-
+            #if defined(__OS2__) && defined(__WATCOMC__)
+                #define   wxCRT_Stat       _stat
+            #else
+                #define   wxCRT_Stat       wxPOSIX_IDENT(stat)
+            #endif
         #endif
     #endif // wxUSE_UNICODE/!wxUSE_UNICODE