aboutsummaryrefslogtreecommitdiffhomepage
path: root/dm/DM.cpp
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@chromium.org>2018-01-24 12:42:55 -0500
committerGravatar Mike Klein <mtklein@chromium.org>2018-01-26 19:52:04 +0000
commit8f11d4dcafef4447fa68ea0ab28a72589241e9fd (patch)
tree0061f498e823a56f25c394d711bdcb0043b1ef9f /dm/DM.cpp
parent53d57ace9974f04ddde1fa2e3fb6e625ed5ee451 (diff)
eliminate SK_BUILD_FOR_WIN32
SK_BUILD_FOR_WIN and SK_BUILD_FOR_WIN32 have long meant the same thing. Chrome fix is https://chromium-review.googlesource.com/c/chromium/src/+/884007 Change-Id: I0e907b1bcd2a358eabf776f414fd3aeb3c689561 Reviewed-on: https://skia-review.googlesource.com/99340 Reviewed-by: Mike Reed <reed@google.com>
Diffstat (limited to 'dm/DM.cpp')
-rw-r--r--dm/DM.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/dm/DM.cpp b/dm/DM.cpp
index 754f035708..8e22c7e2ec 100644
--- a/dm/DM.cpp
+++ b/dm/DM.cpp
@@ -56,7 +56,7 @@ extern void SkPDFImageDumpStats();
#include <stdlib.h>
-#ifndef SK_BUILD_FOR_WIN32
+#ifndef SK_BUILD_FOR_WIN
#include <unistd.h>
#endif
@@ -212,7 +212,7 @@ static void find_culprit() {
}
}
-#if defined(SK_BUILD_FOR_WIN32)
+#if defined(SK_BUILD_FOR_WIN)
static LONG WINAPI crash_handler(EXCEPTION_POINTERS* e) {
static const struct {
const char* name;
@@ -339,7 +339,7 @@ static void gather_gold() {
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-#if defined(SK_BUILD_FOR_WIN32)
+#if defined(SK_BUILD_FOR_WIN)
static const char* kNewline = "\r\n";
#else
static const char* kNewline = "\n";