Skip to content

Commit

Permalink
chore: Fix platform bug
Browse files Browse the repository at this point in the history
  • Loading branch information
shdwmtr committed Oct 6, 2024
1 parent 46425e6 commit 44ebf0b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,15 @@ const static void EntryMain()
{
/** Handle signal interrupts (^C) */
signal(SIGINT, [](int signalCode) { std::exit(128 + SIGINT); });

#ifdef _WIN32
std::unique_ptr<StartupParameters> startupParams = std::make_unique<StartupParameters>();

if (startupParams->HasArgument("-verbose"))
{
CreateTerminalPipe();
}
#endif

uint16_t ftpPort = Crow::CreateAsyncServer();

Expand Down

0 comments on commit 44ebf0b

Please sign in to comment.