aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
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
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 'src/lib')
-rw-r--r--src/lib/fake-quartz-cg.h5
-rw-r--r--src/lib/fake-w32-gdi.h5
-rw-r--r--src/lib/libgamma-error.h4
-rw-r--r--src/lib/libgamma-method.h4
4 files changed, 18 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
diff --git a/src/lib/fake-w32-gdi.h b/src/lib/fake-w32-gdi.h
index 8e7bb5e..b3b9271 100644
--- a/src/lib/fake-w32-gdi.h
+++ b/src/lib/fake-w32-gdi.h
@@ -82,5 +82,10 @@ BOOL EnumDisplayDevices(LPCTSTR restrict lpDevice, DWORD iDevNum,
PDISPLAY_DEVICE restrict lpDisplayDevice, DWORD dwFlags);
+
+#ifndef __GCC__
+# undefine __attribute__
+#endif
+
#endif
diff --git a/src/lib/libgamma-error.h b/src/lib/libgamma-error.h
index 72c707d..7d38568 100644
--- a/src/lib/libgamma-error.h
+++ b/src/lib/libgamma-error.h
@@ -377,5 +377,9 @@ int libgamma_value_of_error(const char* name) __attribute__((const));
+#ifndef __GCC__
+# undefine __attribute__
+#endif
+
#endif
diff --git a/src/lib/libgamma-method.h b/src/lib/libgamma-method.h
index 777da29..d329be8 100644
--- a/src/lib/libgamma-method.h
+++ b/src/lib/libgamma-method.h
@@ -1283,5 +1283,9 @@ void libgamma_gamma_rampsd_free(libgamma_gamma_rampsd_t* restrict this);
+#ifndef __GCC__
+# undefine __attribute__
+#endif
+
#endif