From e29c7bb241c912c7043f9c9a81669abbfd749a3e Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Tue, 28 Feb 2017 23:05:17 -0800 Subject: [PATCH] include/compiler.h: change __WATCOM__ to __WATCOMC__ The correct macro to test for (Open)Watcom is __WATCOMC__ not __WATCOM__. Signed-off-by: H. Peter Anvin --- include/compiler.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/compiler.h b/include/compiler.h index e9a8de22..1391dc1f 100644 --- a/include/compiler.h +++ b/include/compiler.h @@ -58,7 +58,7 @@ # include "config/config.h" #elif defined(_MSC_VER) && (_MSC_VER >= 1310) # include "config/msvc.h" -#elif defined(__WATCOM__) +#elif defined(__WATCOMC__) # include "config/watcom.h" #else # include "config/unknown.h" @@ -254,7 +254,7 @@ size_t strnlen(const char *s, size_t maxlen); #endif /* Watcom doesn't handle switch statements with 64-bit types, hack around it */ -#ifdef __WATCOM__ +#ifdef __WATCOMC__ # define BOGUS_CASE 0x76543210 static inline unsigned int watcom_switch_hack(uint64_t x) -- 2.11.4.GIT