#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)
#endif
#endif
+#ifdef __cplusplus
+extern "C" {
+namespace CEC {
+#endif
+
typedef enum
{
CEC_ABORT_REASON_UNRECOGNIZED_OPCODE = 0,