The DLL version of Watcom's C runtime doesn't have fileno, but the static

version does


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Wetherell
2005-03-14 01:24:40 +00:00
parent 78a94517c0
commit 74fe675195
2 changed files with 3 additions and 1 deletions

View File

@@ -186,6 +186,7 @@ extern LONG APIENTRY _EXPORT
#elif defined(__VISUALC__) \
|| defined(__BORLANDC__) \
|| defined(__DMC__) \
|| defined(__WATCOMC__) \
|| (defined(__GNUWIN32__) || defined(__MINGW32__)) \
|| (defined(__MWERKS__) && defined(__MSL__))
#define wxGetOSFHandle(fd) ((HANDLE)_get_osfhandle(fd))