No wxGetOSFHandle for Wine

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Wetherell
2005-05-25 16:05:22 +00:00
parent 5a00666114
commit 8df9a8a047
2 changed files with 2 additions and 2 deletions

View File

@@ -188,7 +188,7 @@ extern LONG APIENTRY _EXPORT
|| defined(__BORLANDC__) \ || defined(__BORLANDC__) \
|| defined(__DMC__) \ || defined(__DMC__) \
|| defined(__WATCOMC__) \ || defined(__WATCOMC__) \
|| (defined(__GNUWIN32__) || defined(__MINGW32__)) \ || defined(__MINGW32__) \
|| (defined(__MWERKS__) && defined(__MSL__)) || (defined(__MWERKS__) && defined(__MSL__))
#define wxGetOSFHandle(fd) ((HANDLE)_get_osfhandle(fd)) #define wxGetOSFHandle(fd) ((HANDLE)_get_osfhandle(fd))
#endif #endif

View File

@@ -1924,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 && !defined(__WINE__) #if defined __WXMSW__ && !defined __WXWINCE__ && defined wxGetOSFHandle
switch (::GetFileType(wxGetOSFHandle(fd)) & ~FILE_TYPE_REMOTE) switch (::GetFileType(wxGetOSFHandle(fd)) & ~FILE_TYPE_REMOTE)
{ {
case FILE_TYPE_CHAR: case FILE_TYPE_CHAR: