changeset 190:72c415154700

Disable BOOL type that comes from Windows header files.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 09 Jul 2018 09:42:33 +0300
parents 77eb019b7386
children d26bc1adfd14
files Makefile.w32
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.w32	Mon Jul 09 08:58:51 2018 +0300
+++ b/Makefile.w32	Mon Jul 09 09:42:33 2018 +0300
@@ -6,7 +6,7 @@
 BINTOOL_PREFIX=i686-w64-mingw32-
 WINDRES = $(BINTOOL_PREFIX)windres
 
-CFLAGS += -DHAVE_STRING_H -DTH_BYTEORDER=TH_LITTLE_ENDIAN -mconsole
+CFLAGS += -DHAVE_STRING_H -DTH_BYTEORDER=TH_LITTLE_ENDIAN -mconsole -D_NO_BOOL_TYPEDEF
 LDFLAGS += -s
 
 # Miscellaneous