From 8706dfd2673acfd668a250a6942cc437f5636154 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20R=C3=BChsen?= Date: Wed, 3 Jan 2018 11:50:07 +0100 Subject: [PATCH] Fix -Wundef in user-included header lib/cdef.h --- lib/cdefs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cdefs.h b/lib/cdefs.h index ec1fd4106..db72af433 100644 --- a/lib/cdefs.h +++ b/lib/cdefs.h @@ -295,7 +295,7 @@ #if __GNUC_PREREQ (3,4) # define __attribute_warn_unused_result__ \ __attribute__ ((__warn_unused_result__)) -# if __USE_FORTIFY_LEVEL > 0 +# if defined __USE_FORTIFY_LEVEL && __USE_FORTIFY_LEVEL > 0 # define __wur __attribute_warn_unused_result__ # endif #else -- 2.15.1