summaryrefslogtreecommitdiffhomepage
path: root/src/os-unix.h
diff options
context:
space:
mode:
authorMichael Smith <mikesmiffy128@gmail.com>2022-03-24 04:56:31 +0000
committerMichael Smith <mikesmiffy128@gmail.com>2022-03-24 04:56:31 +0000
commit2c0d39acd0329d3e976bd83d85fcf67388465e67 (patch)
tree25a472250a6de536da048bdef9a63884cd8cf8d1 /src/os-unix.h
parent00ad7cdd3d05d09a43bda972c823fdc440feabb9 (diff)
Add auto VDF installation
Breaks the Linux build because I can't file paths brain I need sleeping
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