summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
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));