From: Matthieu Darbois Date: Sat, 23 Apr 2016 12:17:31 +0000 (+0200) Subject: Do not define __attribute__ in opj_includes.h (#751) X-Git-Tag: v2.1.1~18^2~28 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c559c628539bc8956193a5ff8ac787a0c6fa090c;p=openjpeg Do not define __attribute__ in opj_includes.h (#751) Fix #727 --- diff --git a/src/lib/openjp2/opj_includes.h b/src/lib/openjp2/opj_includes.h index f855b7c6..5add0918 100644 --- a/src/lib/openjp2/opj_includes.h +++ b/src/lib/openjp2/opj_includes.h @@ -102,12 +102,6 @@ ========================================================== */ -/* Ignore GCC attributes if this is not GCC */ -#ifndef __GNUC__ - #define __attribute__(x) /* __attribute__(x) */ -#endif - - /* Are restricted pointers available? (C99) */ #if (__STDC_VERSION__ != 199901L) /* Not a C99 compiler */