summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthieu Darbois <mayeut@users.noreply.github.com>2016-04-23 14:17:31 +0200
committerMatthieu Darbois <mayeut@users.noreply.github.com>2016-04-23 14:17:31 +0200
commitc559c628539bc8956193a5ff8ac787a0c6fa090c (patch)
treec50fe73ddd3c728020fce5326207e65af30e7bdd /src
parenta9feb9addd05bc9f05e833dab16a8114bb6d70f3 (diff)
Do not define __attribute__ in opj_includes.h (#751)
Fix #727
Diffstat (limited to 'src')
-rw-r--r--src/lib/openjp2/opj_includes.h6
1 files changed, 0 insertions, 6 deletions
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 */