diff --git a/polymer/eduke32/build/src/sdlayer.c b/polymer/eduke32/build/src/sdlayer.c index 8d18c62a5..22aa56d70 100644 --- a/polymer/eduke32/build/src/sdlayer.c +++ b/polymer/eduke32/build/src/sdlayer.c @@ -49,7 +49,9 @@ # define SDL_DISABLE_8BIT_BUFFER #endif +#if SDL_MAJOR_VERSION != 1 static SDL_version linked; +#endif #if !defined STARTUP_SETUP_WINDOW int32_t startwin_open(void) { return 0; }