From 1c73753507371e392b152c8598fb067afda12a27 Mon Sep 17 00:00:00 2001 From: Chris Eagle Date: Mon, 6 Jun 2016 19:05:05 -0700 Subject: [PATCH] don't try to override native C++ data type --- include/unicorn/unicorn.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/unicorn/unicorn.h b/include/unicorn/unicorn.h index 738dffbd..2013fe06 100644 --- a/include/unicorn/unicorn.h +++ b/include/unicorn/unicorn.h @@ -10,9 +10,11 @@ extern "C" { #include #ifdef _MSC_VER +#ifndef __cplusplus typedef unsigned char bool; #define false 0 #define true 1 +#endif #else #include #endif