Index: tools/skpdiff/skpdiff_main.cpp |
diff --git a/tools/skpdiff/skpdiff_main.cpp b/tools/skpdiff/skpdiff_main.cpp |
index c01767ef144ca1bf9f16fb4928e241bd307a0082..92f1307eca1d5a76435787affe1bd6cf588550e8 100644 |
--- a/tools/skpdiff/skpdiff_main.cpp |
+++ b/tools/skpdiff/skpdiff_main.cpp |
@@ -14,7 +14,7 @@ |
#define __NO_STD_VECTOR // Uses cl::vectpr instead of std::vectpr |
#define __NO_STD_STRING // Uses cl::STRING_CLASS instead of std::string |
-#if SK_BUILD_FOR_MAC |
+#if defined(SK_BUILD_FOR_MAC) |
// Note that some macs don't have this header and it can be downloaded from the Khronos registry |
# include <OpenCL/cl.hpp> |
#else |