mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-16 01:02:03 +00:00
Fix loading of lumps from directory on OS X
Use POSIX-compliant opendir() / readdir() functions instead fts_open() / fts_read() Unlike Linux version, on OS X fts_read() inserts extra slash character between source directory and traversed entry paths
This commit is contained in:
parent
940794929c
commit
878dcdc0a4
1 changed files with 1 additions and 1 deletions
|
@ -198,7 +198,7 @@ int FDirectory::AddDirectory(const char *dirpath)
|
||||||
return count;
|
return count;
|
||||||
}
|
}
|
||||||
|
|
||||||
#elif defined(__sun)
|
#elif defined(__sun) || defined(__APPLE__)
|
||||||
|
|
||||||
int FDirectory::AddDirectory(const char *dirpath)
|
int FDirectory::AddDirectory(const char *dirpath)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue