summaryrefslogtreecommitdiff
path: root/read.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2013-04-27 19:12:01 +0300
committerEli Zaretskii <eliz@gnu.org>2013-04-27 19:12:01 +0300
commite56aad40611fb5c014487c242e7393c84135d88f (patch)
tree29b5e0c7447404b5d56dc080e895eb1661a96c37 /read.c
parent049f8e88fc72d17e94d5429186ea4b93398a8c5e (diff)
downloadgunmake-e56aad40611fb5c014487c242e7393c84135d88f.tar.gz
Support .ONESHELL on MS-Windows, for default Windows shells.
read.c (record_files): Pay attention to .ONESHELL in MS-Windows. job.c (construct_command_argv_internal): Support .ONESHELL on MS-Windows, when the shell is not a Unixy shell.
Diffstat (limited to 'read.c')
-rw-r--r--read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/read.c b/read.c
index 86b9fc4..b74e4a9 100644
--- a/read.c
+++ b/read.c
@@ -2048,7 +2048,7 @@ record_files (struct nameseq *filenames, const char *pattern,
}
else if (streq (name, ".SECONDEXPANSION"))
second_expansion = 1;
-#if !defined(WINDOWS32) && !defined (__MSDOS__) && !defined (__EMX__)
+#if !defined (__MSDOS__) && !defined (__EMX__)
else if (streq (name, ".ONESHELL"))
one_shell = 1;
#endif