summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2018-01-14 17:28:44 +0100
committerLaG1924 <12997935+LaG1924@users.noreply.github.com>2018-01-14 17:28:44 +0100
commitdc5a039f7bc2319b477346c835c2204f9ac17474 (patch)
tree24178ff1a1aa2c2944722a8f61da861141c4f6eb /src/main.cpp
parentImplemented basic chat-component parsing (diff)
downloadAltCraft-dc5a039f7bc2319b477346c835c2204f9ac17474.tar
AltCraft-dc5a039f7bc2319b477346c835c2204f9ac17474.tar.gz
AltCraft-dc5a039f7bc2319b477346c835c2204f9ac17474.tar.bz2
AltCraft-dc5a039f7bc2319b477346c835c2204f9ac17474.tar.lz
AltCraft-dc5a039f7bc2319b477346c835c2204f9ac17474.tar.xz
AltCraft-dc5a039f7bc2319b477346c835c2204f9ac17474.tar.zst
AltCraft-dc5a039f7bc2319b477346c835c2204f9ac17474.zip
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 0e1a1ac..eac2417 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -32,7 +32,9 @@ void initLogger() {
LOG(INFO) << "Logger is configured";
}
+#ifndef USE_SDL_MAIN
#undef main
+#endif
int main(int argc, char** argv) {
srand(time(0));