From b70f46c9797f2283f36872b7e0ddba2bdb9ac028 Mon Sep 17 00:00:00 2001 From: bapt Date: Sun, 5 Jun 2016 09:38:48 +0000 Subject: Ensure old gcc does not accidently get the attributes it does not know about --- contrib/libucl/src/mum.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/libucl') diff --git a/contrib/libucl/src/mum.h b/contrib/libucl/src/mum.h index ae6eec1..8bc8af8 100644 --- a/contrib/libucl/src/mum.h +++ b/contrib/libucl/src/mum.h @@ -73,7 +73,7 @@ typedef unsigned __int64 uint64_t; #define _MUM_FRESH_GCC #endif -#if defined(__GNUC__) && !defined(__llvm__) +#if defined(__GNUC__) && !defined(__llvm__) && defined(_MUM_FRESH_GCC) #define _MUM_ATTRIBUTE_UNUSED __attribute__((unused)) #define _MUM_OPTIMIZE(opts) __attribute__((__optimize__ (opts))) #define _MUM_TARGET(opts) __attribute__((__target__ (opts))) -- cgit v1.1