summaryrefslogtreecommitdiffhomepage
path: root/src/os-win32.h
diff options
context:
space:
mode:
authorMichael Smith <mikesmiffy128@gmail.com>2023-06-10 16:44:19 +0100
committerMichael Smith <mikesmiffy128@gmail.com>2023-06-10 16:51:02 +0100
commit1c4318331663b152b0b298bd2c9e5c971506a86b (patch)
treea402681cb84b491819ba5018525c16340110fd4d /src/os-win32.h
parent602a18977d500ad068fd63fbedcafb630c29ee72 (diff)
Prune some comments and tidy up other minor things
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!?