Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1573)

Unified Diff: third_party/libopenjpeg20/0013-attrib_fix.patch

Issue 1810373002: openjpeg: Remove unneeded non-standard code. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: forgot patch Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/libopenjpeg20/README.pdfium » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libopenjpeg20/0013-attrib_fix.patch
diff --git a/third_party/libopenjpeg20/0013-attrib_fix.patch b/third_party/libopenjpeg20/0013-attrib_fix.patch
new file mode 100644
index 0000000000000000000000000000000000000000..4c1330420b28f0f9d43c0a0e18529fea9da8f124
--- /dev/null
+++ b/third_party/libopenjpeg20/0013-attrib_fix.patch
@@ -0,0 +1,18 @@
+diff --git a/third_party/libopenjpeg20/opj_includes.h b/third_party/libopenjpeg20/opj_includes.h
+index f855b7c..5add091 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 */
+
« no previous file with comments | « no previous file | third_party/libopenjpeg20/README.pdfium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698