mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-11-10 15:21:59 +00:00
9998050654
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant@183 8a3a26a2-13c4-0310-b231-cf6edde360e5
20 lines
375 B
C
20 lines
375 B
C
#ifndef __BYTEBOOL__
|
|
#define __BYTEBOOL__
|
|
|
|
// bool is a C++ type
|
|
// if we are compiling for C, use an enum
|
|
|
|
// this header is not really meant for direct inclusion,
|
|
// it is used by mathlib and cmdlib
|
|
|
|
#ifdef __cplusplus
|
|
typedef bool qboolean;
|
|
#define qtrue true
|
|
#define qfalse false
|
|
#else
|
|
typedef enum { qfalse, qtrue } qboolean;
|
|
#endif
|
|
|
|
typedef unsigned char byte;
|
|
|
|
#endif
|