diff --git a/desmume/src/path.h b/desmume/src/path.h index 364650c4a..78b189921 100644 --- a/desmume/src/path.h +++ b/desmume/src/path.h @@ -27,6 +27,11 @@ #include "frontend/windows/winutil.h" #include "frontend/windows/resource.h" + +#if defined(__MINGW32__) +#define mkdir(A, B) mkdir(A) +#endif + #elif !defined(DESMUME_COCOA) #include #endif /* HOST_WINDOWS */