X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7722d490f224d8f292f27fd90b1f42a00e20da8b..6cbe14ba98ea3f5564aa1b6564563c52558ff153:/include/wx/filefn.h diff --git a/include/wx/filefn.h b/include/wx/filefn.h index a42adcc9c6..871ed8c932 100644 --- a/include/wx/filefn.h +++ b/include/wx/filefn.h @@ -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 // 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