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

Unified Diff: third_party/qcms/google.patch

Issue 11365242: Fix compiler warning in qcms with gcc/arm (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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/qcms/src/transform.c » ('j') | third_party/qcms/src/transform.c » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/qcms/google.patch
diff --git a/third_party/qcms/google.patch b/third_party/qcms/google.patch
index 1084bfc267ef6c033a06770c0e082251c7f270da..d983d2e231334885aa8a705870e88beeaa7b495d 100644
--- a/third_party/qcms/google.patch
+++ b/third_party/qcms/google.patch
@@ -788,7 +788,7 @@ index 976c498..44ce9b5 100644
@@ -1324,8 +1324,18 @@ qcms_transform* qcms_transform_create(
}
- #if defined(__GNUC__) && !defined(__x86_64__) && !defined(__amd64__)
+ #if defined(__GNUC__) && !defined(__x86_64__) && !defined(__amd64__) && !defined(__arm__)
+#if !defined(__has_attribute)
+/* Assume that the compiler supports the provided attribute. */
+#define __has_attribute(x) 1
« no previous file with comments | « no previous file | third_party/qcms/src/transform.c » ('j') | third_party/qcms/src/transform.c » ('J')

Powered by Google App Engine
This is Rietveld 408576698