Fix red introduced in 191ffe2
.
Some leftover code from upstream was triggered by the __linux__ macro on hosted targets. Change-Id: Ib338e99d3b0d491d983dd92b8d554eed0c547c76
This commit is contained in:
parent
c0ebbd4ccb
commit
6087c1caa5
1 changed files with 0 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue