[nostalgia,olympic] Fix pack tool build for Windows
This commit is contained in:
		@@ -92,7 +92,7 @@ static class: public keel::Module {
 | 
			
		||||
				},
 | 
			
		||||
			};
 | 
			
		||||
		}
 | 
			
		||||
} mod;
 | 
			
		||||
} const mod;
 | 
			
		||||
 | 
			
		||||
keel::Module const*keelModule() noexcept {
 | 
			
		||||
	return &mod;
 | 
			
		||||
 
 | 
			
		||||
@@ -25,7 +25,7 @@ static class: public studio::Module {
 | 
			
		||||
		out.emplace_back(ox::make<studio::ItemMakerT<core::Palette>>("Palette", "Palettes", FileExt_npal));
 | 
			
		||||
		return out;
 | 
			
		||||
	}
 | 
			
		||||
} mod;
 | 
			
		||||
} const mod;
 | 
			
		||||
 | 
			
		||||
const studio::Module *studioModule() noexcept {
 | 
			
		||||
	return &mod;
 | 
			
		||||
 
 | 
			
		||||
@@ -50,7 +50,7 @@ void registerKeelModules() noexcept;
 | 
			
		||||
void registerStudioModules() noexcept;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#ifdef _WIN32
 | 
			
		||||
#if defined(_WIN32) && OLYMPIC_GUI_APP
 | 
			
		||||
int WinMain() {
 | 
			
		||||
	auto const argc = __argc;
 | 
			
		||||
	auto const argv = const_cast<const char**>(__argv);
 | 
			
		||||
 
 | 
			
		||||
@@ -12,6 +12,7 @@ add_library(
 | 
			
		||||
)
 | 
			
		||||
target_compile_definitions(
 | 
			
		||||
	StudioAppLib PUBLIC
 | 
			
		||||
		OLYMPIC_GUI_APP=1
 | 
			
		||||
		OLYMPIC_LOAD_STUDIO_MODULES=1
 | 
			
		||||
		OLYMPIC_APP_NAME="Studio"
 | 
			
		||||
)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user