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