Kaynağa Gözat

Add windows platform

Daniele Bartolini 8 yıl önce
ebeveyn
işleme
028550f4ec
1 değiştirilmiş dosya ile 4 ekleme ve 1 silme
  1. 4 1
      tools/level_editor/project.vala

+ 4 - 1
tools/level_editor/project.vala

@@ -28,8 +28,11 @@ namespace Crown
 			_toolchain_dir = null;
 			_data_dir = null;
 			_level_editor_test = null;
+#if CROWN_PLATFORM_LINUX
 			_platform = "linux";
-
+#elif CROWN_PLATFORM_WINDOWS
+			_platform = "windows";
+#endif // CROWN_PLATFORM_LINUX
 			_files = new Database();
 			_map = new HashMap<string, Guid?>();
 		}