summaryrefslogtreecommitdiff
path: root/src/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/init.c')
-rw-r--r--src/init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/init.c b/src/init.c
index 28e2dade3..499bede64 100644
--- a/src/init.c
+++ b/src/init.c
@@ -387,8 +387,10 @@ int init_primary(int ac, char **av)
int init_secondary(int ac, char **av)
{
+#ifndef _WIN32
int i;
int started_from_term = isatty(0) && isatty(1) && isatty(2);
+#endif
/* Add Core MSG handles */
moduleAddMsgs();