From aa596f856d359d6ba09fb28ba90caf266dd42f8b Mon Sep 17 00:00:00 2001 From: Garux Date: Sun, 7 Feb 2021 07:47:33 +0300 Subject: [PATCH] bytebool.h : only #include w/o __cplusplus --- libs/bytebool.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/bytebool.h b/libs/bytebool.h index ed7adf70..3214ab9a 100644 --- a/libs/bytebool.h +++ b/libs/bytebool.h @@ -25,8 +25,9 @@ // defines boolean and byte types usable in both c and c++ code // this header is not really meant for direct inclusion, // it is used by mathlib and cmdlib - +#ifndef __cplusplus #include +#endif typedef bool qboolean; //typedef enum { qfalse, qtrue } qboolean; typedef unsigned char byte;