diff options
author | Sadie Powell <sadie@witchery.services> | 2021-03-02 23:46:08 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2021-03-02 23:46:08 +0000 |
commit | dbaa0f6be119a1e74e6139d240d77efcba43b504 (patch) | |
tree | 72e891572c41508f5e83097897b5558b5ffc0e8f | |
parent | 27f8e788c2a515f63f1f0e5e2b4b0d5e78c3dab4 (diff) |
Fix building on Windows.
-rw-r--r-- | win/inspircd_win32wrapper.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/win/inspircd_win32wrapper.h b/win/inspircd_win32wrapper.h index 1694691e9..49fc1c665 100644 --- a/win/inspircd_win32wrapper.h +++ b/win/inspircd_win32wrapper.h @@ -61,6 +61,11 @@ #define DllExport __declspec(dllimport) #endif +// File numbers for standard streams. +#define STDIN_FILENO 0 +#define STDOUT_FILENO 1 +#define STDERR_FILENO 2 + /* Redirect main() through a different method in win32service.cpp, to intercept service startup */ #define ENTRYPOINT CoreExport int smain(int argc, char** argv) |