From 433054b64b684c307fc9b95e7b1ee92e2053b21b Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Sun, 15 Jul 2018 18:00:53 -0400 Subject: [PATCH] SDL 1.2 is not supported any further. Get the stable-1.0 branch for that. --- src/SDL_sound.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/SDL_sound.h b/src/SDL_sound.h index d7e7f5b..39c8d94 100644 --- a/src/SDL_sound.h +++ b/src/SDL_sound.h @@ -52,7 +52,10 @@ #define _INCLUDE_SDL_SOUND_H_ #include "SDL.h" -#include "SDL_endian.h" + +#if SDL_MAJOR_VERSION < 2 +#error SDL2_sound requires SDL 2.0.0 or later. +#endif #ifdef __cplusplus extern "C" {