summaryrefslogtreecommitdiff
path: root/sysdeps/wordsize-64/strtol_l.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/wordsize-64/strtol_l.c')
-rw-r--r--sysdeps/wordsize-64/strtol_l.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/sysdeps/wordsize-64/strtol_l.c b/sysdeps/wordsize-64/strtol_l.c
new file mode 100644
index 0000000000..a2de0247fd
--- /dev/null
+++ b/sysdeps/wordsize-64/strtol_l.c
@@ -0,0 +1,10 @@
+/* We have to irritate the compiler a bit. */
+#define ____strtoll_l_internal ____strtoll_l_internal_XXX
+#define __strtoll_l __strtoll_l_XXX
+
+#include <sysdeps/generic/strtol_l.c>
+
+#undef ____strtoll_l_internal
+#undef __strtoll_l
+strong_alias (____strtol_l_internal, ____strtoll_l_internal)
+weak_alias (____strtoll_l_internal, __strtoll_l)