aboutsummaryrefslogtreecommitdiffstats
path: root/src/libgamma_Ramp.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/libgamma_Ramp.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/libgamma_Ramp.c b/src/libgamma_Ramp.c
index d25f93f..c180f0b 100644
--- a/src/libgamma_Ramp.c
+++ b/src/libgamma_Ramp.c
@@ -20,7 +20,14 @@
#include <libgamma.h>
-#define J JNIEnv* env, jclass class
+#ifndef __GCC__
+# ifndef __attribute__
+# define __attribute__(X) /* empty */
+# endif
+#endif
+
+
+#define J JNIEnv* env, jclass __attribute__((unused)) class