From: Robert Pengelly Date: Tue, 25 Mar 2025 00:23:18 +0000 (+0000) Subject: Also, check for __MSDOS__ X-Git-Url: https://git.candlhat.org/?a=commitdiff_plain;h=b40f059d10c04a89bc42dec52fcd3571b713dc36;p=xmake.git Also, check for __MSDOS__ --- 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);