From b40f059d10c04a89bc42dec52fcd3571b713dc36 Mon Sep 17 00:00:00 2001 From: Robert Pengelly Date: Tue, 25 Mar 2025 00:23:18 +0000 Subject: [PATCH] Also, check for __MSDOS__ --- xmake.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmake.c b/xmake.c index bd0243c..9b4920e 100644 --- a/xmake.c +++ b/xmake.c @@ -498,7 +498,7 @@ int main (int argc, char **argv) { variable_add (xstrdup ("OS"), xstrdup (os_name), VAR_ORIGIN_FILE); variable_add (xstrdup ("MAKE"), xstrdup (argv[0]), VAR_ORIGIN_FILE); -#if defined (_WIN32) || defined (__WIN32__) +#if defined (_WIN32) || defined (__WIN32__) || defined (__MSDOS__) variable_add (xstrdup ("SHELL"), xstrdup ("sh.exe"), VAR_ORIGIN_FILE); #else variable_add (xstrdup ("SHELL"), xstrdup ("/bin/sh"), VAR_ORIGIN_FILE); -- 2.34.1