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:
@@ -359,6 +359,9 @@ enum wxFileKind
|
|||||||
# include <io.h> // for get_osfhandle()
|
# include <io.h> // for get_osfhandle()
|
||||||
inline HANDLE wxGetOSFHandle(int fd) { return (HANDLE) get_osfhandle(fd); }
|
inline HANDLE wxGetOSFHandle(int fd) { return (HANDLE) get_osfhandle(fd); }
|
||||||
# else
|
# else
|
||||||
|
# ifdef __BORLANDC__
|
||||||
|
# include "wx/msw/private.h" // for HANDLE
|
||||||
|
# endif
|
||||||
inline HANDLE wxGetOSFHandle(int fd) { return (HANDLE) _get_osfhandle(fd); }
|
inline HANDLE wxGetOSFHandle(int fd) { return (HANDLE) _get_osfhandle(fd); }
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user