summaryrefslogtreecommitdiff
path: root/job.c
diff options
context:
space:
mode:
Diffstat (limited to 'job.c')
-rw-r--r--job.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/job.c b/job.c
index ef24caa..8b1a8df 100644
--- a/job.c
+++ b/job.c
@@ -3172,12 +3172,12 @@ construct_command_argv_internal (char *line, char **restp, char *shell,
{
if (streq (sh_cmds[j], new_argv[0]))
goto slow;
-# ifdef __EMX__
+#if defined(__EMX__) || defined(WINDOWS32)
/* Non-Unix shells are case insensitive. */
if (!unixy_shell
&& strcasecmp (sh_cmds[j], new_argv[0]) == 0)
goto slow;
-# endif
+#endif
}
}