bytebool.h : only #include <stdbool.h> w/o __cplusplus

This commit is contained in:
Garux 2021-02-07 07:47:33 +03:00
parent ca34e8f38f
commit aa596f856d

View File

@ -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 <stdbool.h>
#endif
typedef bool qboolean;
//typedef enum { qfalse, qtrue } qboolean;
typedef unsigned char byte;