summaryrefslogtreecommitdiff
path: root/src/configh.dos
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2022-10-17 17:56:18 -0400
committerPaul Smith <psmith@gnu.org>2022-10-18 14:20:44 -0400
commitb79791533bf2a784bf201fbb9f63588ef24fc404 (patch)
treea6c1e0ce02f1f00f4116f1f9a8f958d58d554b93 /src/configh.dos
parent9d24d4180188bf694635f09059003218e6e3c15a (diff)
downloadmake-git-b79791533bf2a784bf201fbb9f63588ef24fc404.tar.gz
Add preprocessor macros for different platforms
* configure.ac: MK_CONFIGURE shows config.h was generated by configure. * src/config.ami: Define MK_AMIGAOS. * src/config.h-vms: Define MK_VMS. * src/configh.dos: Define MK_DJGPP. * src/config.h.W32: Define MK_W32 and WINDOWS32. * src/build_w32.bat: Let WINDOWS32 be defined by config.h. Remove unused setting of WIN32. * src/job.c: Clean up use of WIN32. * src/main.c: Ditto. * tests/scripts/features/default_names: Ditto.
Diffstat (limited to 'src/configh.dos')
-rw-r--r--src/configh.dos2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/configh.dos b/src/configh.dos
index 068b865d..58e992f2 100644
--- a/src/configh.dos
+++ b/src/configh.dos
@@ -17,6 +17,8 @@ this program. If not, see <http://www.gnu.org/licenses/>. */
#include "mkconfig.h"
+#define MK_DJGPP 1
+
/* Include this header to make __DJGPP_MINOR__ available because DJGPP ports
of GCC 4.3.0 and later no longer do it automatically. */
#include <sys/version.h>