diff options
Diffstat (limited to 'src/os-win32.h')
-rw-r--r-- | src/os-win32.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/os-win32.h b/src/os-win32.h index 08399dd..8aeb93a 100644 --- a/src/os-win32.h +++ b/src/os-win32.h @@ -95,6 +95,9 @@ static inline void os_randombytes(void *buf, int sz) { #define read _read #define write _write #define close _close +#define fdopen _fdopen +#define dup _dup +#define dup2 _dup2 #define O_RDONLY _O_RDONLY #define O_RDWR _O_RDWR #define O_CLOEXEC _O_NOINHERIT // and why did they rename this!? |