[nostalgia/studio] Fix main argc and argv for Windows
This commit is contained in:
parent
ed5271166e
commit
79b6046813
@ -8,7 +8,9 @@
|
||||
#include <studioapp/studioapp.hpp>
|
||||
|
||||
#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
|
||||
|
Loading…
Reference in New Issue
Block a user