From 2c0d39acd0329d3e976bd83d85fcf67388465e67 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Thu, 24 Mar 2022 04:56:31 +0000 Subject: Add auto VDF installation Breaks the Linux build because I can't file paths brain I need sleeping --- src/os-unix.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/os-unix.h') 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 -- cgit v1.2.3