Index: runtime/lib/uri.cc |
diff --git a/runtime/lib/uri.cc b/runtime/lib/uri.cc |
index f75d2ecc4d242a50a219404a12c631c3066a6256..66ab6ed448e76754a35b575acd73e994390c6081 100644 |
--- a/runtime/lib/uri.cc |
+++ b/runtime/lib/uri.cc |
@@ -9,7 +9,7 @@ |
namespace dart { |
DEFINE_NATIVE_ENTRY(Uri_isWindowsPlatform, 0) { |
-#if defined(_WIN32) |
+#if defined(TARGET_OS_WINDOWS) |
return Bool::True().raw(); |
#else |
return Bool::False().raw(); |