diff options
author | Paul Smith <psmith@gnu.org> | 2023-01-16 00:03:13 -0500 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2023-01-16 00:03:13 -0500 |
commit | 6f3e9e9b844cf5e9cd95e9af9ae5fa9409993bd7 (patch) | |
tree | acec441002f46aef18ea420dee099ca25e7dc665 /src/commands.c | |
parent | 6128c3e266940ebc3c5e5a4a54241354334d1ebc (diff) | |
download | make-git-6f3e9e9b844cf5e9cd95e9af9ae5fa9409993bd7.tar.gz |
Use MK_OS_DOS macro instead of __MSDOS__
* src/configh.dos: Set MK_OS_DOS to 1
* src/*: Convert #if refs to __MSDOS__, to use MK_OS_DOS.
* gl/lib/*: Ditto.
Diffstat (limited to 'src/commands.c')
-rw-r--r-- | src/commands.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/commands.c b/src/commands.c index 881d9f49..c7121788 100644 --- a/src/commands.c +++ b/src/commands.c @@ -483,7 +483,7 @@ volatile sig_atomic_t handling_fatal_signal = 0; void fatal_error_signal (int sig) { -#ifdef __MSDOS__ +#if MK_OS_DOS extern int dos_status, dos_command_running; if (dos_command_running) @@ -494,7 +494,7 @@ fatal_error_signal (int sig) } remove_intermediates (1); exit (EXIT_FAILURE); -#else /* not __MSDOS__ */ +#else /* not MK_OS_DOS */ #if MK_OS_W32 extern HANDLE main_thread; @@ -593,7 +593,7 @@ fatal_error_signal (int sig) if (kill (make_pid (), sig) < 0) pfatal_with_name ("kill"); #endif /* not MK_OS_W32 */ -#endif /* not __MSDOS__ */ +#endif /* not MK_OS_DOS */ } /* Delete FILE unless it's precious or not actually a file (phony), |