[nostalgia] More changes to accommodate for Windows
This commit is contained in:
parent
77e475980d
commit
109f272650
@ -27,7 +27,9 @@ static ox::Error run(int argc, const char **argv) noexcept {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
int WinMain(int argc, const char **argv) {
|
int WinMain() {
|
||||||
|
auto const argc = __argc;
|
||||||
|
auto const argv = const_cast<const char**>(__argv);
|
||||||
#else
|
#else
|
||||||
int main(int argc, const char **argv) {
|
int main(int argc, const char **argv) {
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user