diff --git a/src/common/filefn.cpp b/src/common/filefn.cpp index a5fc4e6265..a0e5b275b8 100644 --- a/src/common/filefn.cpp +++ b/src/common/filefn.cpp @@ -82,7 +82,7 @@ #endif // TODO: Borland probably has _wgetcwd as well? -#ifdef _MSC_VER +#if defined(_MSC_VER) || defined(__MINGW32__) #define HAVE_WGETCWD #endif