bytebool.h : only #include <stdbool.h> w/o __cplusplus
This commit is contained in:
parent
ca34e8f38f
commit
aa596f856d
|
|
@ -25,8 +25,9 @@
|
||||||
// defines boolean and byte types usable in both c and c++ code
|
// defines boolean and byte types usable in both c and c++ code
|
||||||
// this header is not really meant for direct inclusion,
|
// this header is not really meant for direct inclusion,
|
||||||
// it is used by mathlib and cmdlib
|
// it is used by mathlib and cmdlib
|
||||||
|
#ifndef __cplusplus
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
#endif
|
||||||
typedef bool qboolean;
|
typedef bool qboolean;
|
||||||
//typedef enum { qfalse, qtrue } qboolean;
|
//typedef enum { qfalse, qtrue } qboolean;
|
||||||
typedef unsigned char byte;
|
typedef unsigned char byte;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user