Skip to content

Commit

Permalink
Fixed the SDL main entry point when using MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
mmatyas committed May 3, 2024
1 parent 97080f8 commit f02fd81
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
#include "system/Paths.h"
#include "system/util/MakeUnique.h"

#include "SDL_main.h"

#include <algorithm>
#include <chrono>
#include <memory>
Expand All @@ -35,7 +37,7 @@
const std::string LOG_MAIN = "main";
const std::string LOG_HELP = "help";

int main(int argc, const char** argv)
int main(int argc, char* argv[])
{
Log::info(LOG_MAIN) << "OpenBlok, created by Mátyás Mustoha, " << game_version << "\n";

Expand Down

0 comments on commit f02fd81

Please sign in to comment.