From: Michal MalĂ˝ Date: Fri, 1 Aug 2014 15:35:59 +0000 (+0200) Subject: Workaround for missing stdbool.h in Visual Studio X-Git-Url: https://gitweb.devoid-pointer.net/?a=commitdiff_plain;h=0776da229a98016a6183daf5f02627d253c5e8f7;p=libHPCS.git Workaround for missing stdbool.h in Visual Studio --- diff --git a/libhpcs_p.h b/libhpcs_p.h index 1d305bf..13281b4 100644 --- a/libhpcs_p.h +++ b/libhpcs_p.h @@ -1,3 +1,9 @@ +#ifdef _MSC_VER +typedef int uint8_t +#define true 1 +#define false 0 +#endif + #include #include