aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Test.cpp')
-rw-r--r--tests/Test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Test.cpp b/tests/Test.cpp
index 96bbbad9b9..da260a0ee6 100644
--- a/tests/Test.cpp
+++ b/tests/Test.cpp
@@ -43,7 +43,7 @@ SkString skiatest::GetTmpDir() {
#elif defined(SK_BUILD_FOR_MAC) || defined(SK_BUILD_FOR_UNIX)
const char* environmentVariable = "TMPDIR";
const char* defaultValue = "/tmp";
-#elif defined(SK_BUILD_FOR_WIN32)
+#elif defined(SK_BUILD_FOR_WIN)
const char* environmentVariable = "TEMP";
const char* defaultValue = nullptr;
#else