git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34094
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#if defined __MWERKS__ || defined __CYGWIN__
#include <io.h>
#endif
#if defined __MWERKS__ || defined __CYGWIN__
#include <io.h>
#endif
- #if defined __WINE__
- extern "C" { long _get_osfhandle(int); }
- #endif
#endif // __WINDOWS__
#if defined(__VMS__)
#endif // __WINDOWS__
#if defined(__VMS__)
//
wxFileKind wxGetFileKind(int fd)
{
//
wxFileKind wxGetFileKind(int fd)
{
-#if defined __WXMSW__ && !defined __WXWINCE__ && defined wxGetOSFHandle
+#if defined __WXMSW__ && !defined __WXWINCE__ && defined wxGetOSFHandle && !defined(__WINE__)
switch (::GetFileType(wxGetOSFHandle(fd)) & ~FILE_TYPE_REMOTE)
{
case FILE_TYPE_CHAR:
switch (::GetFileType(wxGetOSFHandle(fd)) & ~FILE_TYPE_REMOTE)
{
case FILE_TYPE_CHAR: