diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-09-05 01:10:38 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-09-05 01:10:38 +0200 |
commit | a8a5fd8015aa5738afb648aafe8a991811d8d5e4 (patch) | |
tree | 616e76ddbbcf51e5db5813cdff2209174baaaa0a /src/libgamma_LibgammaException.c | |
parent | include libgamma.h (diff) | |
download | jlibgamma-a8a5fd8015aa5738afb648aafe8a991811d8d5e4.tar.gz jlibgamma-a8a5fd8015aa5738afb648aafe8a991811d8d5e4.tar.bz2 jlibgamma-a8a5fd8015aa5738afb648aafe8a991811d8d5e4.tar.xz |
m + implement C code from GammaRamps
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | src/libgamma_LibgammaException.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/libgamma_LibgammaException.c b/src/libgamma_LibgammaException.c index ee94b98..7b1d3d7 100644 --- a/src/libgamma_LibgammaException.c +++ b/src/libgamma_LibgammaException.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 |