shithub: choc

Download patch

ref: 15cec0d05f33ad4696ada2f73bea309f30f273b2
parent: 47434df8f9770069fd4f0c01fe18cab06999663c
parent: 68828570aadb5dc3ca025118f32d6d3d472e05be
author: Simon Howard <fraggle+github@gmail.com>
date: Wed Jul 22 06:06:58 EDT 2015

Merge pull request #589 from Azarien/upstream_master

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++.