]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/filefn.h
Compile fix for --disable-ffile.
[wxWidgets.git] / include / wx / filefn.h
index 8bb24e01e762c12061abe6fff3e714e2997339fa..4f539ab1761be50bbe984eff53fae058912b5c36 100644 (file)
@@ -282,7 +282,12 @@ enum wxFileKind
             #endif
         #else // !wxUSE_UNICODE_MSLU
             #ifdef __BORLANDC__
-                #define   wxOpen       _wopen
+                #if __BORLANDC__ >= 0x550 && __BORLANDC__ <= 0x551
+                    WXDLLIMPEXP_BASE int wxOpen(const wxChar *pathname,
+                                                int flags, mode_t mode);
+                #else
+                    #define   wxOpen       _wopen
+                #endif
                 #define   wxAccess     _waccess
                 #define   wxMkDir      _mkdir
                 #define   wxRmDir      _rmdir