Daniele Bartolini 8 лет назад
Родитель
Сommit
028550f4ec
1 измененных файлов с 4 добавлено и 1 удалено
  1. 4 1
      tools/level_editor/project.vala

+ 4 - 1
tools/level_editor/project.vala

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