updates from savannah outage
[pspp] / lib / mkdtemp.c
index 2f46c18edfadc8ef6538f268fcd750ea65eae6ca..ac66ae29d424c5e713cf8bf83daec2a7e3ce26bc 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