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

Unified Diff: experimental/skpdiff/skpdiff_util.h

Issue 19787006: ports for mac, ios, android, linux, windows (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 5 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
Index: experimental/skpdiff/skpdiff_util.h
diff --git a/experimental/skpdiff/skpdiff_util.h b/experimental/skpdiff/skpdiff_util.h
index 93090f61632c4cb9e58f9578f981741f393e3131..9df1bc0b2a157f982dc49112d73fccee11a54f04 100644
--- a/experimental/skpdiff/skpdiff_util.h
+++ b/experimental/skpdiff/skpdiff_util.h
@@ -12,7 +12,12 @@
#include "SkTArray.h"
#if SK_SUPPORT_OPENCL
-#include <CL/cl.h>
+#if SK_BUILD_FOR_MAC
+# include <OpenCL/cl.h>
+#else
+# include <CL/cl.h>
+#endif
+
/**
* Converts an OpenCL error number into the string of its enumeration name.
* @param err The OpenCL error number

Powered by Google App Engine
This is Rietveld 408576698