Remove BCC-specific conditionally compiled code
This commit is contained in:
@@ -121,13 +121,12 @@ extern LONG APIENTRY
|
||||
|
||||
// This one is a macro so that it can be tested with #ifdef, it will be
|
||||
// undefined if it cannot be implemented for a given compiler.
|
||||
// Vc++, bcc, dmc, ow, mingw akk have _get_osfhandle() and Cygwin has
|
||||
// Vc++, dmc, ow, mingw akk have _get_osfhandle() and Cygwin has
|
||||
// get_osfhandle. Others are currently unknown, e.g. Salford, Intel, Visual
|
||||
// Age.
|
||||
#if defined(__CYGWIN__)
|
||||
#define wxGetOSFHandle(fd) ((HANDLE)get_osfhandle(fd))
|
||||
#elif defined(__VISUALC__) \
|
||||
|| defined(__BORLANDC__) \
|
||||
|| defined(__MINGW32__)
|
||||
#define wxGetOSFHandle(fd) ((HANDLE)_get_osfhandle(fd))
|
||||
#define wxOpenOSFHandle(h, flags) (_open_osfhandle(wxPtrToUInt(h), flags))
|
||||
|
Reference in New Issue
Block a user