Skip to content

Commit

Permalink
tweak(compiler/linux): Improve portability
Browse files Browse the repository at this point in the history
Macro might already be defined via cmd-options or other source files, this fails building then.
  • Loading branch information
tens0rfl0w committed Oct 31, 2024
1 parent f548768 commit d2f2ddc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/server/launcher/src/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
#include "Server.h"

#ifndef _WIN32
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <pthread.h>
#endif

Expand Down

0 comments on commit d2f2ddc

Please sign in to comment.