Browse Source

Define bool as unsigned char (1 byte) on old MSVC versions

Julius Pfrommer 6 years ago
parent
commit
a88e2bf995
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/ua_config.h.in

+ 1 - 1
include/ua_config.h.in

@@ -75,7 +75,7 @@ extern "C" {
 #else
 # include "ms_stdint.h"
 # if !defined(__bool_true_false_are_defined)
-#  define bool short
+#  define bool unsigned char
 #  define true 1
 #  define false 0
 #  define __bool_true_false_are_defined