From ce94c90a7b966c0bff294f2b582068d984ba172c Mon Sep 17 00:00:00 2001 From: tron Date: Wed, 14 Dec 2005 06:16:34 +0000 Subject: (svn r3296) Warn about testing an undefined macro with #if - should most probably be #ifdef --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 9cb7c4a97..7d70dee4e 100644 --- a/Makefile +++ b/Makefile @@ -293,7 +293,7 @@ CC_VERSION = $(shell $(CC) -dumpversion | cut -c 1,3) # GNU make can only test for (in)equality # this is a workaround to test for >= ifeq ($(shell expr $(CC_VERSION) \>= 29), 1) - CFLAGS += -O -Wall -Wno-multichar -Wsign-compare -Wstrict-prototypes + CFLAGS += -O -Wall -Wno-multichar -Wsign-compare -Wstrict-prototypes -Wundef CFLAGS += -Wwrite-strings -Wpointer-arith endif ifeq ($(shell expr $(CC_VERSION) \>= 30), 1) -- cgit v1.2.3-70-g09d2