shithub: choc

Download patch

ref: 68828570aadb5dc3ca025118f32d6d3d472e05be
parent: 47434df8f9770069fd4f0c01fe18cab06999663c
author: Azarien <[email protected]>
date: Wed Jul 22 10:51:09 EDT 2015

VS2015 compilation fix

--- a/src/doomtype.h
+++ b/src/doomtype.h
@@ -66,7 +66,7 @@
 
 #include <inttypes.h>
 
-#ifdef __cplusplus
+#if defined(__cplusplus) || defined(__bool_true_false_are_defined)
 
 // Use builtin bool type with C++.