From 956a95bb8f64f261a264db6358a5d9b3890f932f Mon Sep 17 00:00:00 2001 From: Isaac <62234577+IsaacBrumby@users.noreply.github.com> Date: Wed, 16 Feb 2022 15:04:18 +1000 Subject: [PATCH] Update crash_handler.c --- src/pc/crash_handler.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pc/crash_handler.c b/src/pc/crash_handler.c index 385de3f82..ddf4b47b5 100644 --- a/src/pc/crash_handler.c +++ b/src/pc/crash_handler.c @@ -1,8 +1,8 @@ // Adapted from PeachyPeach's sm64pc-omm #if defined(_WIN32) +#ifdef HAVE_SDL2 #include - #include #include #include @@ -492,3 +492,4 @@ __attribute__((constructor)) static void init_crash_handler() { } #endif +#endif