summaryrefslogtreecommitdiff
path: root/read.c
diff options
context:
space:
mode:
Diffstat (limited to 'read.c')
-rw-r--r--read.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/read.c b/read.c
index 1e8d2f3..f4484c4 100644
--- a/read.c
+++ b/read.c
@@ -1964,6 +1964,10 @@ record_files (struct nameseq *filenames, const char *pattern,
}
else if (streq (name, ".SECONDEXPANSION"))
second_expansion = 1;
+#if !defined(WINDOWS32) && !defined (__MSDOS__) && !defined (__EMX__)
+ else if (streq (name, ".ONESHELL"))
+ one_shell = 1;
+#endif
/* If this is a static pattern rule:
`targets: target%pattern: prereq%pattern; recipe',