summaryrefslogtreecommitdiff
path: root/includes/generic.h
diff options
context:
space:
mode:
Diffstat (limited to 'includes/generic.h')
-rw-r--r--includes/generic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/generic.h b/includes/generic.h
index 5586953..168c9d3 100644
--- a/includes/generic.h
+++ b/includes/generic.h
@@ -117,7 +117,7 @@ inline T MIN(T a, T b) {
#if defined __linux__ || defined __CYGWIN32__
#define MKDIR(name) mkdir(name, 0777)
-#elif defined __MINGW32_VERSION
+#elif defined __WIN32__
#define MKDIR mkdir
#else
#error Unknow compiler/platform