]> Devoid-pointer.net GitWeb - libHPCS.git/commitdiff
Workaround for missing stdbool.h in Visual Studio
authorMichal Malý <madcatxster@devoid-pointer.net>
Fri, 1 Aug 2014 15:35:59 +0000 (17:35 +0200)
committerMichal Malý <madcatxster@devoid-pointer.net>
Fri, 1 Aug 2014 15:35:59 +0000 (17:35 +0200)
libhpcs_p.h

index 1d305bf972b762f852de978f6b291c5fe8e0dff8..a58708285e35f11dcc70b9afea5bd425a5d83278 100644 (file)
@@ -1,3 +1,8 @@
+#ifdef WIN32
+typedef int uint8_t
+#define true 1
+#define false 0
+#endif
 #include <stdbool.h>
 #include <stdio.h>