RandyGaul / cute_headers

Collection of cross-platform one-file C/C++ libraries with no dependencies, primarily used for games
4.24k stars 264 forks source link

fix cute_sound warnings on MacOS #315

Closed johnpayne-dev closed 2 years ago

johnpayne-dev commented 2 years ago

Fixes the lines that do nothing and give a warning.

I also added #ifndef SDL_h_ around the SDL2 include because it's possible for the user to want to use their own SDL2 include, for example in my case I build SDL2 from source so I include by doing #include "SDL.h".

RandyGaul commented 2 years ago

Looks good, thanks!