foxygit / doom Log in
commit 68828570aadb5dc3ca025118f32d6d3d472e05be
Author:     Azarien <Azarien@users.noreply.github.com>
AuthorDate: Wed Jul 22 14:51:09 2015 +0200
Commit:     Azarien <Azarien@users.noreply.github.com>
CommitDate: Wed Jul 22 14:57:11 2015 +0200

    VS2015 compilation fix
---
 src/doomtype.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/doomtype.h b/src/doomtype.h
index 10820c12..3b92973d 100644
--- 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++.