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