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=77beeaa03c4ffb436f5663bc38d7712f2765204e;p=libHPCS.git Workaround for missing stdbool.h in Visual Studio --- diff --git a/libhpcs_p.h b/libhpcs_p.h index 1d305bf..a587082 100644 --- a/libhpcs_p.h +++ b/libhpcs_p.h @@ -1,3 +1,8 @@ +#ifdef WIN32 +typedef int uint8_t +#define true 1 +#define false 0 +#endif #include #include