]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/filefn.h
guess it wasn't
[wxWidgets.git] / include / wx / filefn.h
index a42adcc9c6b5eef1c0917c86698896b2eef18c1e..871ed8c932e9748ba78998207b9a8ce654d18534 100644 (file)
@@ -352,13 +352,16 @@ enum wxFileKind
     #endif
 #endif // platforms
 
-#if defined __WXMSW__ && !defined __WXWINCE__
+#if defined(__WXMSW__) && !defined(__WXWINCE__)
     // get the HANDLE associated with a file descriptor
 #   ifdef __CYGWIN__
 #       include "wx/msw/private.h" // for HANDLE
 #       include <io.h> // for get_osfhandle()
         inline HANDLE wxGetOSFHandle(int fd) { return (HANDLE) get_osfhandle(fd); }
 #   else
+#       ifdef __BORLANDC__
+#           include "wx/msw/private.h" // for HANDLE
+#       endif
         inline HANDLE wxGetOSFHandle(int fd) { return (HANDLE) _get_osfhandle(fd); }
 #   endif
 #endif