mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-07-07 22:50:40 +00:00
Merge pull request #569 from cseagle/master
don't try to override native C++ data type
This commit is contained in:
commit
ebd2c95340
|
@ -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