git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2005-05-17 12:09:01 +00:00
parent f54632db33
commit 80b1db47a6

View File

@@ -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: