summaryrefslogtreecommitdiff
path: root/sysdeps/x86_64/tlsdesc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/x86_64/tlsdesc.c')
-rw-r--r--sysdeps/x86_64/tlsdesc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/x86_64/tlsdesc.c b/sysdeps/x86_64/tlsdesc.c
index c1c5e033c0..451f7be2d0 100644
--- a/sysdeps/x86_64/tlsdesc.c
+++ b/sysdeps/x86_64/tlsdesc.c
@@ -139,7 +139,7 @@ _dl_unmap (struct link_map *map)
{
_dl_unmap_segments (map);
-#if SHARED
+#ifdef SHARED
/* _dl_unmap is only called for dlopen()ed libraries, for which
calling free() is safe, or before we've completed the initial
relocation, in which case calling free() is probably pointless,