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:
@@ -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
|
||||||
|
@@ -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:
|
||||||
|
Reference in New Issue
Block a user