X-Git-Url: https://git.saurik.com/apple/dyld.git/blobdiff_plain/0959b6d4289bd106fddb7fe7d84a346159895fdd..797cc9518557438c2166863f4e1804db04ecfa2d:/unit-tests/test-cases/dlsym-RTLD_SELF/main.c diff --git a/unit-tests/test-cases/dlsym-RTLD_SELF/main.c b/unit-tests/test-cases/dlsym-RTLD_SELF/main.c index ce7c3a8..8c137c6 100644 --- a/unit-tests/test-cases/dlsym-RTLD_SELF/main.c +++ b/unit-tests/test-cases/dlsym-RTLD_SELF/main.c @@ -37,7 +37,6 @@ /// We also check that this works in the main executable. /// -#ifdef RTLD_SELF int foo() { @@ -63,12 +62,10 @@ static void trySO(const char* pathToLoad) (*sym)(); } -#endif int main() { -#ifdef RTLD_SELF trySO("test.bundle"); trySO("test.dylib"); @@ -77,8 +74,5 @@ int main() } PASS("dlsym-RTLD_SELF bundle and dylib"); -#else - XFAIL("dlsym-RTLD_SELF not implemented"); -#endif return EXIT_SUCCESS; }