From 10486b2fb08e452e32e2a5555ac9422c44f6a1b8 Mon Sep 17 00:00:00 2001 From: mayeut Date: Sat, 23 Apr 2016 13:31:59 +0200 Subject: [PATCH] Do not define __attribute__ in opj_includes.h Updates uclouvain/openjpeg#727 --- src/lib/openjp2/opj_includes.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/lib/openjp2/opj_includes.h b/src/lib/openjp2/opj_includes.h index f855b7c66..5add09188 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 */