aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@chromium.org>2017-05-15 16:32:48 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-05-15 21:47:27 +0000
commit8af18591ca0e22e4c1c9c286686b5f1b25f3b670 (patch)
tree13c326f604b3fe93809faa1a7cf13cf9e236a055 /src
parent25166c663748bf74f9c170e29c27aa8af2e7b52d (diff)
fix windows detection in SkExecutor.cpp
defined(SK_BUILD_FOR_WIN32) is our usual way of detecting Windows. It's basically a roundabout defined(_WIN32). Don't know why I picked _MSC_VER here. BUG=skia:6635 Change-Id: I8986ec12dc1cc79a1cf16abf2a1ecbc5e0447786 Reviewed-on: https://skia-review.googlesource.com/16919 Reviewed-by: Herb Derby <herb@google.com> Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'src')
-rw-r--r--src/core/SkExecutor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkExecutor.cpp b/src/core/SkExecutor.cpp
index 6144dfddac..681841d253 100644
--- a/src/core/SkExecutor.cpp
+++ b/src/core/SkExecutor.cpp
@@ -13,7 +13,7 @@
#include "SkTArray.h"
#include "SkThreadUtils.h"
-#if defined(_MSC_VER)
+#if defined(SK_BUILD_FOR_WIN32)
#include <windows.h>
static int num_cores() {
SYSTEM_INFO sysinfo;