Permalink
Browse files

apply ticket#13556 patch: _rmdir was not declared in this scope (mingw)

  • Loading branch information...
1 parent 9eca7ba commit d6a92c35e4a752e6a04ff092602b6d28b066b7b2 @davidm davidm committed Mar 30, 2013
Showing with 3 additions and 2 deletions.
  1. +3 −2 include/wx/filefn.h
View
@@ -210,7 +210,8 @@ enum wxFileKind
// to avoid using them as they're not present in earlier versions and
// always using the native functions spelling is easier than testing for
// the versions
- #if defined(__BORLANDC__) || defined(__DMC__) || defined(__WATCOMC__) || defined(__MINGW64__)
+ #if defined(__BORLANDC__) || defined(__DMC__) || defined(__WATCOMC__) || \
+ defined(__MINGW64_VERSION_MAJOR)
#define wxPOSIX_IDENT(func) ::func
#else // by default assume MSVC-compatible names
#define wxPOSIX_IDENT(func) _ ## func
@@ -245,7 +246,7 @@ enum wxFileKind
#endif
#ifdef wxHAS_HUGE_FILES
- #ifndef __MINGW64__
+ #ifndef __MINGW64_VERSION_MAJOR
#define wxSeek wxPOSIX_IDENT(lseeki64)
#define wxLseek wxPOSIX_IDENT(lseeki64)
#define wxTell wxPOSIX_IDENT(telli64)

0 comments on commit d6a92c3

Please sign in to comment.