ntdll: Use #ifdef instead of #if to check for _DARWIN_FEATURE_64_BIT_INODE.
This commit is contained in:
parent
6f36945f2b
commit
e8d387fd45
|
@ -1378,7 +1378,7 @@ done:
|
||||||
|
|
||||||
#elif defined HAVE_GETDIRENTRIES
|
#elif defined HAVE_GETDIRENTRIES
|
||||||
|
|
||||||
#if _DARWIN_FEATURE_64_BIT_INODE
|
#ifdef _DARWIN_FEATURE_64_BIT_INODE
|
||||||
|
|
||||||
/* Darwin doesn't provide a version of getdirentries with support for 64-bit
|
/* Darwin doesn't provide a version of getdirentries with support for 64-bit
|
||||||
* inodes. When 64-bit inodes are enabled, the getdirentries symbol is mapped
|
* inodes. When 64-bit inodes are enabled, the getdirentries symbol is mapped
|
||||||
|
@ -1563,7 +1563,7 @@ done:
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if _DARWIN_FEATURE_64_BIT_INODE
|
#ifdef _DARWIN_FEATURE_64_BIT_INODE
|
||||||
#undef getdirentries
|
#undef getdirentries
|
||||||
#undef dirent
|
#undef dirent
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue