diff options
author | Nico Weber <thakis@chromium.org> | 2016-03-18 14:08:54 -0400 |
---|---|---|
committer | Nico Weber <thakis@chromium.org> | 2016-03-18 14:08:54 -0400 |
commit | a051db3ff1a4d44138c149bb271f091f90ac98ec (patch) | |
tree | 87a2cc8ac6217f091781c4e4fe93548aa47d30cc /third_party/libopenjpeg20/opj_includes.h | |
parent | 314743a4a752716b8e977482ad6c757c70d019db (diff) | |
download | pdfium-a051db3ff1a4d44138c149bb271f091f90ac98ec.tar.xz |
openjpeg: Remove unneeded non-standard code.
When building with clang-cl and not passing /FIintrin.h, the
__attribute__ defined to nothing, which confuses the compiler
(see bug).
Since nothing seems to require the __attribute__ redefinition,
just remove it.
Reported upstream here: https://github.com/uclouvain/openjpeg/issues/727
BUG=592745
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1810373002 .
Diffstat (limited to 'third_party/libopenjpeg20/opj_includes.h')
-rw-r--r-- | third_party/libopenjpeg20/opj_includes.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/third_party/libopenjpeg20/opj_includes.h b/third_party/libopenjpeg20/opj_includes.h index f855b7c669..5add09188e 100644 --- a/third_party/libopenjpeg20/opj_includes.h +++ b/third_party/libopenjpeg20/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 */ |