diff options
author | Paul Smith <psmith@gnu.org> | 2022-10-17 17:56:18 -0400 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2022-10-18 14:20:44 -0400 |
commit | b79791533bf2a784bf201fbb9f63588ef24fc404 (patch) | |
tree | a6c1e0ce02f1f00f4116f1f9a8f958d58d554b93 /src/configh.dos | |
parent | 9d24d4180188bf694635f09059003218e6e3c15a (diff) | |
download | make-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.dos | 2 |
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> |