aboutsummaryrefslogtreecommitdiff
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 9381731..0937928 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1,3 +1,5 @@
+#define SDL_MAIN_HANDLED // Prevents SDL from shitting the Windows cross-compiler
+
#include <SDL2/SDL.h>
#include <iostream>
#include "lua/lua.hpp"