aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/fake-w32-gdi.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-w32-gdi.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-w32-gdi.h5
1 files changed, 5 insertions, 0 deletions
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