Wine fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -79,9 +79,6 @@
|
|||||||
#if defined __MWERKS__ || defined __CYGWIN__
|
#if defined __MWERKS__ || defined __CYGWIN__
|
||||||
#include <io.h>
|
#include <io.h>
|
||||||
#endif
|
#endif
|
||||||
#if defined __WINE__
|
|
||||||
extern "C" { long _get_osfhandle(int); }
|
|
||||||
#endif
|
|
||||||
#endif // __WINDOWS__
|
#endif // __WINDOWS__
|
||||||
|
|
||||||
#if defined(__VMS__)
|
#if defined(__VMS__)
|
||||||
@@ -1927,7 +1924,7 @@ bool wxMatchWild( const wxString& pat, const wxString& text, bool dot_special )
|
|||||||
//
|
//
|
||||||
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)
|
switch (::GetFileType(wxGetOSFHandle(fd)) & ~FILE_TYPE_REMOTE)
|
||||||
{
|
{
|
||||||
case FILE_TYPE_CHAR:
|
case FILE_TYPE_CHAR:
|
||||||
|
Reference in New Issue
Block a user