Windows main statement

This commit is contained in:
2024-05-13 21:09:21 -04:00
parent ccf9edee93
commit 576d51ac68
2 changed files with 11 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
/cmake-build-debug
/.idea

View File

@@ -28,3 +28,12 @@ int main() {
return 0;
}
#ifdef _WIN32
extern "C" {
int wmain(int argc, wchar_t* argv[]) {
return main(0, nullptr);
}
}
#endif