aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/fake-quartz-cg.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/fake-quartz-cg.h')
-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