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

Unified Diff: src/shared/platform_windows.cc

Issue 1659163007: Rename fletch -> dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: address comments Created 4 years, 11 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 | « src/shared/platform_windows.h ('k') | src/shared/random.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/shared/platform_windows.cc
diff --git a/src/shared/platform_windows.cc b/src/shared/platform_windows.cc
index d52209059f861c711729c999b55fb861fdefab27..6a3cc4125058124a98bfac2b08798a0bef7bb468 100644
--- a/src/shared/platform_windows.cc
+++ b/src/shared/platform_windows.cc
@@ -2,7 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE.md file.
-#if defined(FLETCH_TARGET_OS_WIN)
+#if defined(DARTINO_TARGET_OS_WIN)
#include "src/shared/platform.h" // NOLINT
@@ -14,7 +14,7 @@
#include "src/shared/utils.h"
-namespace fletch {
+namespace dartino {
static uint64 time_launch;
@@ -32,7 +32,7 @@ void GetPathOfExecutable(char* path, size_t path_length) {
void Platform::Setup() {
time_launch = GetTickCount64();
-#if defined(FLETCH_ENABLE_LIVE_CODING)
+#if defined(DARTINO_ENABLE_LIVE_CODING)
WSADATA wsa_data;
int status = WSAStartup(MAKEWORD(2, 2), &wsa_data);
if (status != 0) {
@@ -42,7 +42,7 @@ void Platform::Setup() {
}
void Platform::TearDown() {
-#if defined(FLETCH_ENABLE_LIVE_CODING)
+#if defined(DARTINO_ENABLE_LIVE_CODING)
WSACleanup();
#endif
}
@@ -271,6 +271,6 @@ bool VirtualMemory::Uncommit(uword address, int size) {
return false;
}
-} // namespace fletch
+} // namespace dartino
-#endif // defined(FLETCH_TARGET_OS_WIN)
+#endif // defined(DARTINO_TARGET_OS_WIN)
« no previous file with comments | « src/shared/platform_windows.h ('k') | src/shared/random.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698