From: Włodzimierz Skiba Date: Thu, 24 Feb 2005 15:18:36 +0000 (+0000) Subject: Provide to Borland the same fix as for Cygwin due to historic placement of Borland... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5c7022599b0369c92c3afefab60928a7b1a9fcee 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 --- diff --git a/include/wx/filefn.h b/include/wx/filefn.h index 8894f9a788..871ed8c932 100644 --- a/include/wx/filefn.h +++ b/include/wx/filefn.h @@ -359,6 +359,9 @@ enum wxFileKind # 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