]> git.saurik.com Git - wxWidgets.git/commitdiff
Provide to Borland the same fix as for Cygwin due to historic placement of Borland...
authorWłodzimierz Skiba <abx@abx.art.pl>
Thu, 24 Feb 2005 15:18:36 +0000 (15:18 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Thu, 24 Feb 2005 15:18:36 +0000 (15:18 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/filefn.h

index 8894f9a788e207204e94b4f3efb27c41ab10788e..871ed8c932e9748ba78998207b9a8ce654d18534 100644 (file)
@@ -359,6 +359,9 @@ enum wxFileKind
 #       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