Do not define __attribute__ in opj_includes.h (#751)
authorMatthieu Darbois <mayeut@users.noreply.github.com>
Sat, 23 Apr 2016 12:17:31 +0000 (14:17 +0200)
committerMatthieu Darbois <mayeut@users.noreply.github.com>
Sat, 23 Apr 2016 12:17:31 +0000 (14:17 +0200)
Fix #727

src/lib/openjp2/opj_includes.h

index f855b7c6694045ebb1108a188971fa28e6d00f0e..5add09188e958419af326391d79508e6366f6ddc 100644 (file)
  ==========================================================
 */
 
-/* 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 */