mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-24 11:58:20 +00:00
don't try to override native C++ data type
This commit is contained in:
parent
e8dd23e449
commit
1c73753507
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue