Only define bool if not in C++.

git-svn-id: svn://10.0.0.236/trunk@159081 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jst%mozilla.jstenback.com
2004-07-12 18:15:31 +00:00
parent 623ebba1f7
commit 123bdb3ba3

View File

@@ -46,7 +46,9 @@ typedef int int32_t;
typedef unsigned int uint32_t;
#else
#include <stdint.h>
#ifndef __cplusplus
#ifndef bool
typedef int bool;
#endif
#endif
#endif