version does
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32804
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#elif defined(__VISUALC__) \
|| defined(__BORLANDC__) \
|| defined(__DMC__) \
+ || defined(__WATCOMC__) \
|| (defined(__GNUWIN32__) || defined(__MINGW32__)) \
|| (defined(__MWERKS__) && defined(__MSL__))
#define wxGetOSFHandle(fd) ((HANDLE)_get_osfhandle(fd))
wxFileKind wxGetFileKind(FILE *fp)
{
-#ifndef wxFILEKIND_STUB
+ // note: the watcom rtl dll doesn't have fileno (the static lib does)
+#if !defined wxFILEKIND_STUB && !(defined __WATCOMC__ && defined __SW_BR)
return wxGetFileKind(fileno(fp));
#else
(void)fp;