From 452c12403abc521a809aebdd0ef5409146bb3256 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Thu, 12 May 2022 15:33:22 +0100 Subject: Add a few more os-win32.h definitions for later This is part of some other WIP but might be useful in general so might as well be committed on its own. --- src/os-win32.h | 3 +++ 1 file changed, 3 insertions(+) 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!? -- cgit v1.2.3