Provide to Borland the same fix as for Cygwin due to historic placement of Borland between Unix compilers. Needs further fix with move of Borland into MSW section in filefn.h

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2005-02-24 15:18:36 +00:00
parent ed62f740a1
commit 5c7022599b

View 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