diff options
-rw-r--r-- | Mac/Modules/macmodule.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Mac/Modules/macmodule.c b/Mac/Modules/macmodule.c index 75716db..3d5c0cc 100644 --- a/Mac/Modules/macmodule.c +++ b/Mac/Modules/macmodule.c @@ -361,7 +361,11 @@ mac_mkdir(self, args) if (!newgetargs(args, "s|i", &path, &mode)) return NULL; BGN_SAVE +#ifdef USE_GUSI + res = mkdir(path); +#else res = mkdir(path, mode); +#endif END_SAVE if (res < 0) return mac_error(); |