adplug / adplay-unix

AdPlug's UNIX console-based frontend
GNU General Public License v2.0
12 stars 15 forks source link

Rename sdl.h header to avoid conflict #28

Closed mistydemeo closed 8 months ago

mistydemeo commented 8 months ago

Building on macOS, which has a case-insensitive filesystem by default, I was having some trouble getting this to build: the compiler was consistently getting confused between adplay's sdl.h and SDL's own SDL.h. I picked sdl_driver.h arbitrarily, so I'm happy to change it, though it makes its purpose pretty clear.

I considered changing the #include "SDL.h" references to #include <SDL.h>, but even then the compiler tripped over the filenames and wasn't able to continue.