about summary refs log tree commit diff
path: root/dlfcn/tststatic2.c
diff options
context:
space:
mode:
Diffstat (limited to 'dlfcn/tststatic2.c')
-rw-r--r--dlfcn/tststatic2.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/dlfcn/tststatic2.c b/dlfcn/tststatic2.c
index 85c0fb2ff9..5d273a69bf 100644
--- a/dlfcn/tststatic2.c
+++ b/dlfcn/tststatic2.c
@@ -115,13 +115,11 @@ main (void)
       exit (1);
     }
 
-#ifdef DO_VERSIONING
   if (dlvsym (handle2, "_dlfcn_hook", "GLIBC_PRIVATE") == NULL)
     {
       printf ("dlvsym: %s\n", dlerror ());
       exit (1);
     }
-#endif
 
   void *(*dlsymfn) (void *, const char *);
   dlsymfn = dlsym (handle2, "dlsym");