Merge pull request #83 from sjones608/cplusplus_bool
Don't typedef bool if compiling with C++
This commit is contained in:
commit
031a37514e
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
|||
#define DEFINE_H
|
||||
#include <stdbool.h>
|
||||
|
||||
#ifndef bool
|
||||
#if !defined(bool) && !defined(__cplusplus)
|
||||
typedef unsigned char bool;
|
||||
#endif
|
||||
#ifndef FALSE
|
||||
|
|
Loading…
Reference in a new issue