From 9673dedebf41be4379779aeb52ff83179db226e9 Mon Sep 17 00:00:00 2001 From: Gabriele Gristina Date: Sat, 29 Jun 2019 13:48:22 +0200 Subject: [PATCH] Force undef WIDECHAR in cygwin build --- src/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Makefile b/src/Makefile index 9e2a15865..a7bb156d6 100644 --- a/src/Makefile +++ b/src/Makefile @@ -178,8 +178,12 @@ endif ## because ZLIB ifeq ($(USE_SYSTEM_ZLIB),0) +ifeq ($(UNAME),CYGWIN) +CFLAGS_ZLIB += -Wno-implicit-fallthrough -UWIDECHAR +else CFLAGS_ZLIB += -Wno-implicit-fallthrough endif +endif ifeq ($(DEBUG),0) CFLAGS += -O2