aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorArslaan Pathan <[email protected]>2025-06-11 20:21:29 +1200
committerArslaan Pathan <[email protected]>2025-06-11 20:21:29 +1200
commitdc0f9628b262b47f37ca7cdf15657f576ab71a45 (patch)
tree9a06c44bb510d90d74c225fb543bfce04b1303a2 /src/main.cpp
parent5dfe69e4580073c9bdeaed605a46cf0ec3e24ad2 (diff)
downloadshowdownofthesticks-dc0f9628b262b47f37ca7cdf15657f576ab71a45.tar.xz
showdownofthesticks-dc0f9628b262b47f37ca7cdf15657f576ab71a45.zip
Add windows cross-compile build support, this was a piece of SHIT to do!
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"