summaryrefslogtreecommitdiffhomepage
path: root/src/os-unix.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/os-unix.h')
-rw-r--r--src/os-unix.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/os-unix.h b/src/os-unix.h
index 6522029..8b7bf27 100644
--- a/src/os-unix.h
+++ b/src/os-unix.h
@@ -34,6 +34,8 @@ typedef char os_char;
#define os_open open
#define os_access access
#define os_stat stat
+#define os_mkdir(f) mkdir(f, 0755) // use real mkdir(2) if the mode matters
+#define os_unlink unlink
#define os_getenv getenv
#define os_getcwd getcwd