forked from github/server
bool conflicts with boolean in C++ when compiled...
This commit is contained in:
parent
64a85e8138
commit
43300ac55f
|
@ -227,7 +227,7 @@ extern char * strdup(const char *s);
|
|||
** The Eressea boolean type **
|
||||
**** ****/
|
||||
#ifdef __cplusplus
|
||||
typedef bool boolean;
|
||||
typedef int boolean; /* not bool! wrong size. */
|
||||
#else
|
||||
typedef int boolean;
|
||||
# define false ((boolean)0)
|
||||
|
|
Loading…
Reference in New Issue