diff options
author | Vencislav Atanasov <user890104@freemyipod.org> | 2019-07-28 23:31:50 +0300 |
---|---|---|
committer | Vencislav Atanasov <user890104@freemyipod.org> | 2019-07-29 01:59:40 +0300 |
commit | 183e45e8d0b4425bbd41fab37f2a4dc143e1e27c (patch) | |
tree | 5e25c211f6a3bd46dc594123451af00c1bf7ef9c /apps/plugins/sdl/SDL_mixer/music.c | |
parent | e19857e712ff54cec08d5a6342a32dae2788cb50 (diff) | |
download | rockbox-183e45e8d0b4425bbd41fab37f2a4dc143e1e27c.tar.gz rockbox-183e45e8d0b4425bbd41fab37f2a4dc143e1e27c.zip |
sdl: Remove platform-specific code
Also nuke the Makefiles of Duke Nukem 3D (pun intended).
Change-Id: If2707cf079bfb9299347f9c5f980780134b6ecda
Diffstat (limited to 'apps/plugins/sdl/SDL_mixer/music.c')
-rw-r--r-- | apps/plugins/sdl/SDL_mixer/music.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/plugins/sdl/SDL_mixer/music.c b/apps/plugins/sdl/SDL_mixer/music.c index ab41327394..dce16a9de3 100644 --- a/apps/plugins/sdl/SDL_mixer/music.c +++ b/apps/plugins/sdl/SDL_mixer/music.c | |||
@@ -1582,8 +1582,6 @@ int Mix_EachSoundFont(int (*function)(const char*, void*), void *data) | |||
1582 | 1582 | ||
1583 | #if defined(__MINGW32__) || defined(__MINGW64__) | 1583 | #if defined(__MINGW32__) || defined(__MINGW64__) |
1584 | for (path = strtok(paths, ";"); path; path = strtok(NULL, ";")) { | 1584 | for (path = strtok(paths, ";"); path; path = strtok(NULL, ";")) { |
1585 | #elif defined(_WIN32) | ||
1586 | for (path = strtok_s(paths, ";", &context); path; path = strtok_s(NULL, ";", &context)) { | ||
1587 | #else | 1585 | #else |
1588 | for (path = strtok_r(paths, ":;", &context); path; path = strtok_r(NULL, ":;", &context)) { | 1586 | for (path = strtok_r(paths, ":;", &context); path; path = strtok_r(NULL, ":;", &context)) { |
1589 | #endif | 1587 | #endif |