aboutsummaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-12-27 13:50:13 +0000
committerGravatar Sadie Powell2022-12-27 13:50:13 +0000
commited81ec45ad6fc014dc9df5b94028721d17f6e2ac (patch)
treeff8badc0c7c67437a4e63f4e52407f71367ddd83 /src/inspircd.cpp
parentReplace the unused `padding` argument of Percent::Encode with `upper`. (diff)
Move some stuff from the Windows compat header to where it is used.
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 6ff69b881..a9b5589ac 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -49,7 +49,9 @@
# include <pwd.h>
# include <sys/resource.h>
#else
-# define fdopen _fdopen
+# define STDIN_FILENO 0
+# define STDOUT_FILENO 1
+# define STDERR_FILENO 2
# include <process.h>
#endif