From 2530bf544d939103d076735553d87f4a50420b0b Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 4 Sep 2014 02:54:49 +0200 Subject: undef __attribute__ at end of files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/lib/fake-quartz-cg.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/lib/fake-quartz-cg.h') diff --git a/src/lib/fake-quartz-cg.h b/src/lib/fake-quartz-cg.h index d70a553..8a30ce5 100644 --- a/src/lib/fake-quartz-cg.h +++ b/src/lib/fake-quartz-cg.h @@ -73,5 +73,10 @@ uint32_t CGDisplayGammaTableCapacity(CGDirectDisplayID display) __attribute__((c void close_fake_quartz_cg(void); + +#ifndef __GCC__ +# undefine __attribute__ +#endif + #endif -- cgit v1.2.3-70-g09d2