+2003-10-21 Bruno Haible <bruno@clisp.org>
+
+ * mkdtemp.c (mkdir): Redefine on mingw.
+
2003-10-17 Bruno Haible <bruno@clisp.org>
* binary-io.h: Avoid warnings on Cygwin.
# 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
+2003-10-21 Bruno Haible <bruno@clisp.org>
+
+ * write-java.c (mkdir): Redefine on mingw.
+
2003-10-12 Bruno Haible <bruno@clisp.org>
Improved ObjectiveC support.
# include <unistd.h>
#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
+
#include "c-ctype.h"
#include "error.h"
#include "javacomp.h"