win32: sync visual studio project files. fixed: accidently included windows.h within...
[deb_libcec.git] / include / cectypes.h
index f2d8e6710f2ff511e6b446531a67a8406c3af574..eee055264b8fbc7a2854bab53465dc3fd721a4de 100644 (file)
 
 #include <stdint.h>
 #include <string.h>
-#include <stdbool.h>
 
-#ifdef __cplusplus
-extern "C" {
-namespace CEC {
+#if !defined(_WIN32) && !defined(_WIN64)
+#include <stdbool.h>
 #endif
 
 #if !defined(DECLSPEC)
@@ -56,6 +54,11 @@ namespace CEC {
 #endif
 #endif
 
+#ifdef __cplusplus
+extern "C" {
+namespace CEC {
+#endif
+
 typedef enum
 {
   CEC_ABORT_REASON_UNRECOGNIZED_OPCODE = 0,