bool conflicts with boolean in C++ when compiled...

This commit is contained in:
Enno Rehling 2005-05-08 18:17:08 +00:00
parent 64a85e8138
commit 43300ac55f
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ extern char * strdup(const char *s);
** The Eressea boolean type ** ** The Eressea boolean type **
**** ****/ **** ****/
#ifdef __cplusplus #ifdef __cplusplus
typedef bool boolean; typedef int boolean; /* not bool! wrong size. */
#else #else
typedef int boolean; typedef int boolean;
# define false ((boolean)0) # define false ((boolean)0)