summaryrefslogtreecommitdiffhomepage
path: root/src/os-win32.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/os-win32.h')
-rw-r--r--src/os-win32.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/os-win32.h b/src/os-win32.h
index 365e2dc..fe61f84 100644
--- a/src/os-win32.h
+++ b/src/os-win32.h
@@ -98,6 +98,9 @@ static inline void os_randombytes(void *buf, int sz) {
#define fdopen _fdopen
#define dup _dup
#define dup2 _dup2
+#define strdup _strdup
+#define fstat _fstat64
+#define lseek _lseeki64
#define O_RDONLY _O_RDONLY
#define O_RDWR _O_RDWR
#define O_CLOEXEC _O_NOINHERIT // and why did they rename this!?