aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/fake-quartz-cg.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-09-04 02:54:49 +0200
committerMattias Andrée <maandree@operamail.com>2014-09-04 02:54:49 +0200
commit2530bf544d939103d076735553d87f4a50420b0b (patch)
tree17e9657b8d5f601b9074d7a421e19924ff18f8b3 /src/lib/fake-quartz-cg.h
parentdist (diff)
downloadlibgamma-2530bf544d939103d076735553d87f4a50420b0b.tar.gz
libgamma-2530bf544d939103d076735553d87f4a50420b0b.tar.bz2
libgamma-2530bf544d939103d076735553d87f4a50420b0b.tar.xz
undef __attribute__ at end of files
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/lib/fake-quartz-cg.h5
1 files changed, 5 insertions, 0 deletions
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