mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-20 15:51:07 +01:00
Define SDL_PLATFORM_* macros instead of underscored ones (#8875)
This commit is contained in:
committed by
GitHub
parent
ceccf24519
commit
31d133db40
@@ -644,7 +644,7 @@ static Thing *LoadWavThing(const char *fname, float x, float y)
|
||||
static const ThingType can_be_dropped_onto[] = { THING_TRASHCAN, THING_NULL };
|
||||
char *titlebar = NULL;
|
||||
const char *nodirs = SDL_strrchr(fname, '/');
|
||||
#ifdef __WINDOWS__
|
||||
#ifdef SDL_PLATFORM_WINDOWS
|
||||
const char *nodirs2 = SDL_strrchr(nodirs ? nodirs : fname, '\\');
|
||||
if (nodirs2) {
|
||||
nodirs = nodirs2;
|
||||
|
||||
Reference in New Issue
Block a user