From 266fdfad52ddcf6670d841b052f62a0c0cdf0a75 Mon Sep 17 00:00:00 2001 From: Eidolon <furyhunter600@gmail.com> Date: Sun, 13 Nov 2022 20:07:36 -0600 Subject: [PATCH] Don't preproc. define `inline` in C++ --- src/doomtype.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/doomtype.h b/src/doomtype.h index 2db7e22b3d..62814866d8 100644 --- a/src/doomtype.h +++ b/src/doomtype.h @@ -92,7 +92,9 @@ typedef long ssize_t; #endif #define strncasecmp strnicmp #define strcasecmp stricmp +#ifndef __cplusplus #define inline __inline +#endif #elif defined (__WATCOMC__) #include <dos.h> #include <sys\types.h> -- GitLab