From: Julian Smart Date: Tue, 4 Dec 2001 12:13:31 +0000 (+0000) Subject: Ifdefed out code that wouldn't compile with Mingw32 2.95.2 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/269c86d089ffef61459339bf10887aaa86ca81d8 Ifdefed out code that wouldn't compile with Mingw32 2.95.2 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/utils.cpp b/src/msw/utils.cpp index d34d0ede3e..453880612d 100644 --- a/src/msw/utils.cpp +++ b/src/msw/utils.cpp @@ -105,8 +105,6 @@ extern "C" { #include "wx/ioswrap.h" -#include "wx/ioswrap.h" - /* Need to undef new if including crtdbg.h */ # ifdef new # undef new @@ -456,7 +454,7 @@ bool wxGetDiskSpace(const wxString& path, wxLongLong *pTotal, wxLongLong *pFree) if ( path.empty() ) return FALSE; -#ifdef __WIN32__ +#if defined(__WIN32__) && !defined(__GNUWIN32__) // GetDiskFreeSpaceEx() is not available under original Win95, check for // it typedef BOOL (*GetDiskFreeSpaceEx_t)(LPCTSTR,