don't try to override native C++ data type

This commit is contained in:
Chris Eagle 2016-06-06 19:05:05 -07:00
parent e8dd23e449
commit 1c73753507

View file

@ -10,9 +10,11 @@ extern "C" {
#include <stdint.h> #include <stdint.h>
#ifdef _MSC_VER #ifdef _MSC_VER
#ifndef __cplusplus
typedef unsigned char bool; typedef unsigned char bool;
#define false 0 #define false 0
#define true 1 #define true 1
#endif
#else #else
#include <stdbool.h> #include <stdbool.h>
#endif #endif