aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-06-18 01:55:40 +0200
committerMattias Andrée <maandree@operamail.com>2014-06-18 01:55:40 +0200
commit1def3968ddbb2d817f6aea4d6bb6a76b2b4c69b6 (patch)
treef962ccc054e4ba6ded3b4d3c8723a0d8937b250b /src
parentuse, and define, __GCC__ rather than usign __GNUC__ (diff)
downloadlibgamma-1def3968ddbb2d817f6aea4d6bb6a76b2b4c69b6.tar.gz
libgamma-1def3968ddbb2d817f6aea4d6bb6a76b2b4c69b6.tar.bz2
libgamma-1def3968ddbb2d817f6aea4d6bb6a76b2b4c69b6.tar.xz
fix removal of __attribute__
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src')
-rw-r--r--src/lib/fake-quartz-cg.h2
-rw-r--r--src/lib/fake-w32-gdi.h2
-rw-r--r--src/lib/libgamma-error.h2
-rw-r--r--src/lib/libgamma-method.h2
-rw-r--r--src/test/methods.h2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/fake-quartz-cg.h b/src/lib/fake-quartz-cg.h
index a19b3e9..d70a553 100644
--- a/src/lib/fake-quartz-cg.h
+++ b/src/lib/fake-quartz-cg.h
@@ -24,7 +24,7 @@
#ifndef __GCC__
-# define __attribute__
+# define __attribute__(x)
#endif
diff --git a/src/lib/fake-w32-gdi.h b/src/lib/fake-w32-gdi.h
index 07f81a6..8e7bb5e 100644
--- a/src/lib/fake-w32-gdi.h
+++ b/src/lib/fake-w32-gdi.h
@@ -24,7 +24,7 @@
#ifndef __GCC__
-# define __attribute__
+# define __attribute__(x)
#endif
#include <stdint.h>
diff --git a/src/lib/libgamma-error.h b/src/lib/libgamma-error.h
index 7b02e50..d11dbc1 100644
--- a/src/lib/libgamma-error.h
+++ b/src/lib/libgamma-error.h
@@ -24,7 +24,7 @@
#ifndef __GCC__
-# define __attribute__
+# define __attribute__(x)
#endif
#include <sys/types.h>
diff --git a/src/lib/libgamma-method.h b/src/lib/libgamma-method.h
index 303f912..5d2ae32 100644
--- a/src/lib/libgamma-method.h
+++ b/src/lib/libgamma-method.h
@@ -24,7 +24,7 @@
#ifndef __GCC__
-# define __attribute__
+# define __attribute__(x)
#endif
#include <stddef.h>
diff --git a/src/test/methods.h b/src/test/methods.h
index 46b7319..c8720bc 100644
--- a/src/test/methods.h
+++ b/src/test/methods.h
@@ -20,7 +20,7 @@
#ifndef __GCC__
-# define __attribute__()
+# define __attribute__(x)
#endif
/**