about summary refs log tree commit diff
path: root/sysdeps/generic/strtoull.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/strtoull.c')
-rw-r--r--sysdeps/generic/strtoull.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/generic/strtoull.c b/sysdeps/generic/strtoull.c
index 465eb0a667..2a9b5c5aeb 100644
--- a/sysdeps/generic/strtoull.c
+++ b/sysdeps/generic/strtoull.c
@@ -25,7 +25,10 @@
 # ifdef SHARED
 #  include <shlib-compat.h>
 
+#  if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)
 compat_symbol (libc, __strtoull_internal, __strtouq_internal, GLIBC_2_0);
+#  endif
+
 # endif
 weak_alias (strtoull, strtouq)
 #endif