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

Unified Diff: src/shared/platform.h

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/natives_to_json.cc ('k') | src/shared/platform_cmsis.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/shared/platform.h
diff --git a/src/shared/platform.h b/src/shared/platform.h
index de01a5605b7ab59bd8cc4c934d2f7a81de8cec83..fefd3c3fbe3804711263a6661451d353c4ce19bf 100644
--- a/src/shared/platform.h
+++ b/src/shared/platform.h
@@ -9,19 +9,19 @@
#include "src/shared/globals.h"
#include "src/shared/list.h"
-#if defined(FLETCH_TARGET_OS_POSIX)
+#if defined(DARTINO_TARGET_OS_POSIX)
#include "src/shared/platform_posix.h"
-#elif defined(FLETCH_TARGET_OS_WIN)
+#elif defined(DARTINO_TARGET_OS_WIN)
#include "src/shared/platform_windows.h"
-#elif defined(FLETCH_TARGET_OS_LK)
+#elif defined(DARTINO_TARGET_OS_LK)
#include "src/shared/platform_lk.h"
-#elif defined(FLETCH_TARGET_OS_CMSIS)
+#elif defined(DARTINO_TARGET_OS_CMSIS)
#include "src/shared/platform_cmsis.h"
#else
#error "Platform not implemented for target os."
#endif
-namespace fletch {
+namespace dartino {
// Computes the path of of this executable. This is similar to argv[0], but
// since argv[0] is provided by the calling process, argv[0] may be an
@@ -132,11 +132,11 @@ inline OperatingSystem OS() {
}
inline Architecture Arch() {
-#if defined(FLETCH_TARGET_IA32)
+#if defined(DARTINO_TARGET_IA32)
return kIA32;
-#elif defined(FLETCH_TARGET_X64)
+#elif defined(DARTINO_TARGET_X64)
return kX64;
-#elif defined(FLETCH_TARGET_ARM)
+#elif defined(DARTINO_TARGET_ARM)
return kARM;
#else
return kUnknownArch;
@@ -292,6 +292,6 @@ class Semaphore {
int count_;
};
-} // namespace fletch
+} // namespace dartino
#endif // SRC_SHARED_PLATFORM_H_
« no previous file with comments | « src/shared/natives_to_json.cc ('k') | src/shared/platform_cmsis.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698