summaryrefslogtreecommitdiff
path: root/src/unix/posix.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/unix/posix.h')
-rw-r--r--src/unix/posix.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/unix/posix.h b/src/unix/posix.h
new file mode 100644
index 000000000..ab98c451d
--- /dev/null
+++ b/src/unix/posix.h
@@ -0,0 +1,14 @@
+#ifndef INCLUDE_posix__w32_h__
+#define INCLUDE_posix__w32_h__
+
+#include "common.h"
+
+#define p_lstat(p,b) lstat(p,b)
+#define p_readlink(a, b, c) readlink(a, b, c)
+#define p_link(o,n) link(o, n)
+#define p_unlink(p) unlink(p)
+#define p_mkdir(p,m) mkdir(p, m)
+#define p_fsync(fd) fsync(fd)
+#define p_realpath(p, r) realpath(p, r)
+
+#endif