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