Mercurial > dwindows
comparison 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 |
comparison
equal
deleted
inserted
replaced
1709:de49c1f284b2 | 1710:b217cf9161c7 |
---|---|
52 #endif | 52 #endif |
53 | 53 |
54 int API makedir(char *path) | 54 int API makedir(char *path) |
55 { | 55 { |
56 #if defined(__IBMC__) || defined(__WATCOMC__) || (defined(__WIN32__) && !defined(__CYGWIN32__)) | 56 #if defined(__IBMC__) || defined(__WATCOMC__) || (defined(__WIN32__) && !defined(__CYGWIN32__)) |
57 return mkdir(path); | 57 return mkdir(path, 0); |
58 #else | 58 #else |
59 return mkdir(path,S_IRWXU); | 59 return mkdir(path,S_IRWXU); |
60 #endif | 60 #endif |
61 } | 61 } |
62 | 62 |