1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-04 13:42:55 +01:00

Add symbolic link support

This commit is contained in:
xperia64
2015-12-03 00:20:04 +00:00
parent 594f3d3c74
commit 562d7fdb61

View File

@@ -351,7 +351,7 @@ static int dirfilter(const struct dirent *d)
return 0;
}
#if defined(_DIRENT_HAVE_D_TYPE) || defined(DT_UNKNOWN)
if (d->d_type == DT_DIR)
if (d->d_type == DT_DIR || d->d_type == DT_LNK)
{
return 1;
} else {