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:
@@ -1952,7 +1952,8 @@ wxFileKind wxGetFileKind(int 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;
|
||||
|
Reference in New Issue
Block a user