Loading...
--- dyld/dyld-1122.1/libdyld/utils.cpp
+++ dyld/dyld-1066.8/libdyld/utils.cpp
@@ -20,10 +20,6 @@
*
* @APPLE_LICENSE_HEADER_END@
*/
-
-#include <TargetConditionals.h>
-
-#if !TARGET_OS_EXCLAVEKIT
#include <string.h>
#include <sys/mman.h>
@@ -240,13 +236,10 @@
///
/// utils_priv.h
///
-///
-const char* _Nullable macho_dylib_install_name(const struct mach_header* _Nonnull mh) DYLD_EXCLAVEKIT_UNAVAILABLE
+const char* _Nullable macho_dylib_install_name(const struct mach_header* _Nonnull mh)
{
if ( const MachOFile* mf = MachOFile::isMachO(mh) )
return mf->installName();
return nullptr;
}
-
-#endif // !TARGET_OS_EXCLAVEKIT