We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3662a17 commit 2266505Copy full SHA for 2266505
include/msgpack/sysdep.h
@@ -183,16 +183,20 @@ typedef unsigned int _msgpack_atomic_counter_t;
183
184
185
#if !defined(__cplusplus) && defined(_MSC_VER)
186
-#if !defined(FALSE)
187
-#define FALSE (0)
188
-#endif
189
-#if !defined(TRUE)
190
-#define TRUE (!FALSE)
191
192
-#define bool int
193
-#define true TRUE
194
-#define false FALSE
195
-#define inline __inline
+# if !defined(FALSE)
+# define FALSE (0)
+# endif
+# if !defined(TRUE)
+# define TRUE (!FALSE)
+# if _MSC_VER >= 1800
+# include <stdbool.h>
+# else
+# define bool int
196
+# define true TRUE
197
+# define false FALSE
198
199
+# define inline __inline
200
#endif
201
202
#endif /* msgpack/sysdep.h */
0 commit comments