SDL 1.2 is not supported any further. Get the stable-1.0 branch for that.
authorRyan C. Gordon <icculus@icculus.org>
Sun, 15 Jul 2018 18:00:53 -0400
changeset 624 b0389c65334c
parent 623 9b54c7635065
child 625 ada9f87af3f1
SDL 1.2 is not supported any further. Get the stable-1.0 branch for that.
src/SDL_sound.h
--- a/src/SDL_sound.h	Sun Jul 15 01:34:13 2018 -0400
+++ b/src/SDL_sound.h	Sun Jul 15 18:00:53 2018 -0400
@@ -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" {