[nostalgia] More changes to accommodate for Windows

This commit is contained in:
Gary Talent 2023-11-12 00:14:52 -06:00
parent 77e475980d
commit 109f272650

View File

@ -27,7 +27,9 @@ static ox::Error run(int argc, const char **argv) noexcept {
}
#ifdef _WIN32
int WinMain(int argc, const char **argv) {
int WinMain() {
auto const argc = __argc;
auto const argv = const_cast<const char**>(__argv);
#else
int main(int argc, const char **argv) {
#endif