updates from savannah outage
[gnulib.git] / lib / mkdtemp.c
index 2f46c18..ac66ae2 100644 (file)
 # define S_IXUSR 00100
 #endif
 
+#ifdef __MINGW32__
+/* mingw's mkdir() function has 1 argument, but we pass 2 arguments.
+   Therefore we have to disable the argument count checking.  */
+# define mkdir ((int (*)()) mkdir)
+#endif
+
 #if !_LIBC
 # define __getpid getpid
 # define __gettimeofday gettimeofday