Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1343)

Unified Diff: runtime/bin/file_system_watcher_macos.cc

Issue 1388973002: Use #if TARGET_OS_IOS instead of #ifdef TARGET_OS_IOS. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/bin/platform_macos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/file_system_watcher_macos.cc
diff --git a/runtime/bin/file_system_watcher_macos.cc b/runtime/bin/file_system_watcher_macos.cc
index fbecffa5cfb9a1b5886a4d5360c4ca7837c3846d..8b0cc071f1c79d29199a72b5a69da07df61835cd 100644
--- a/runtime/bin/file_system_watcher_macos.cc
+++ b/runtime/bin/file_system_watcher_macos.cc
@@ -7,7 +7,7 @@
#include "bin/file_system_watcher.h"
-#if !defined(TARGET_OS_IOS)
+#if TARGET_OS_IOS
butlermatt 2015/10/08 13:31:02 #if !TARGET_OS_IOS
Bill Hesse 2015/10/08 14:48:47 Done.
#include <errno.h> // NOLINT
#include <fcntl.h> // NOLINT
@@ -394,7 +394,7 @@ Dart_Handle FileSystemWatcher::ReadEvents(intptr_t id, intptr_t path_id) {
} // namespace bin
} // namespace dart
-#else // !defined(TARGET_OS_IOS)
+#else // !TARGET_OS_IOS
namespace dart {
namespace bin {
@@ -432,6 +432,6 @@ intptr_t FileSystemWatcher::WatchPath(intptr_t id,
} // namespace bin
} // namespace dart
-#endif // !defined(TARGET_OS_IOS)
+#endif // !TARGET_OS_IOS
#endif // defined(TARGET_OS_MACOS)
« no previous file with comments | « no previous file | runtime/bin/platform_macos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698