diff dwcompat.c @ 1710:b217cf9161c7

Move some more platform specific code into dwcompat.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sat, 05 May 2012 22:44:27 +0000
parents b8604e5fc85e
children 22225eb286e5
line wrap: on
line diff
--- a/dwcompat.c	Sat May 05 21:41:57 2012 +0000
+++ b/dwcompat.c	Sat May 05 22:44:27 2012 +0000
@@ -54,7 +54,7 @@
 int API makedir(char *path)
 {
 #if defined(__IBMC__) || defined(__WATCOMC__) || (defined(__WIN32__) && !defined(__CYGWIN32__))
-	return mkdir(path);
+	return mkdir(path, 0);
 #else
 	return mkdir(path,S_IRWXU);
 #endif