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_ |