commit | 35f02fb9c9f548656e1cb2cc66d3ed20006384f8 | [log] [tgz] |
---|---|---|
author | zachr@google.com <zachr@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon Jul 22 17:05:24 2013 +0000 |
committer | zachr@google.com <zachr@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon Jul 22 17:05:24 2013 +0000 |
tree | 4f660f4ab5e55a1420d9e4fab3aa21edc29ec672 | |
parent | 1d241f13d5474770ff517bd0c7999d9014e12ced [diff] [blame] |
ports for mac, ios, android, linux, windows R=djsollen@google.com Review URL: https://codereview.chromium.org/19787006 git-svn-id: http://skia.googlecode.com/svn/trunk@10239 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/experimental/skpdiff/skpdiff_util.h b/experimental/skpdiff/skpdiff_util.h index 93090f6..9df1bc0 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