summaryrefslogtreecommitdiffstats
path: root/apps/plugins/sdl
diff options
context:
space:
mode:
authorFranklin Wei <franklin@rockbox.org>2020-04-05 00:43:43 -0400
committerFranklin Wei <franklin@rockbox.org>2020-04-05 00:44:30 -0400
commit6087c1caa53a798b68856c77b1ceb9e5317c5c64 (patch)
treedab3af6566093dc126dafd4d1ddfdb7e4d1e2f3c /apps/plugins/sdl
parentc0ebbd4ccb00df33828dd8b4ef79a172c3a51169 (diff)
downloadrockbox-6087c1caa53a798b68856c77b1ceb9e5317c5c64.tar.gz
rockbox-6087c1caa53a798b68856c77b1ceb9e5317c5c64.tar.bz2
rockbox-6087c1caa53a798b68856c77b1ceb9e5317c5c64.zip
Fix red introduced in 191ffe2.
Some leftover code from upstream was triggered by the __linux__ macro on hosted targets. Change-Id: Ib338e99d3b0d491d983dd92b8d554eed0c547c76
Diffstat (limited to 'apps/plugins/sdl')
-rw-r--r--apps/plugins/sdl/progs/duke3d/Game/src/game.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/apps/plugins/sdl/progs/duke3d/Game/src/game.c b/apps/plugins/sdl/progs/duke3d/Game/src/game.c
index 8b2c0e959f..69bfcd2900 100644
--- a/apps/plugins/sdl/progs/duke3d/Game/src/game.c
+++ b/apps/plugins/sdl/progs/duke3d/Game/src/game.c
@@ -8013,12 +8013,7 @@ void findGRPToUse(char * groupfilefullpath){
while ((dirEntry = readdir(dir)) != NULL)
{
-
-#ifdef __linux__
- if (dukeGRP_Match(dirEntry->d_name, _D_EXACT_NAMLEN(dirEntry)))
-#else
if (dukeGRP_Match(dirEntry->d_name,strlen(dirEntry->d_name)))
-#endif
{
sprintf(groupfilefullpath,"%s%s",directoryToScan,dirEntry->d_name);
return;