Diff of /lib/os_internal.h [0da210] .. [19a49d] Maximize Restore

  Switch to side-by-side view

--- a/lib/os_internal.h
+++ b/lib/os_internal.h
@@ -186,7 +186,11 @@
 #  ifdef HAVE_SYS_STAT_H
 #    include <sys/stat.h>
 #  endif
-#  define mkdir(A, B) _mkdir((A))
+#  ifdef __MINGW64__
+#    define mkdir(A, B) mkdir((A))
+#  else
+#    define mkdir(A, B) _mkdir((A))
+#  endif
 
 #  ifndef S_ISDIR
 #    define S_ISDIR(m) ((m) & _S_IFDIR)