about summary refs log tree commit diff
path: root/sysdeps/wordsize-64/strtol.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/wordsize-64/strtol.c')
-rw-r--r--sysdeps/wordsize-64/strtol.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/sysdeps/wordsize-64/strtol.c b/sysdeps/wordsize-64/strtol.c
new file mode 100644
index 0000000000..2a18f7a642
--- /dev/null
+++ b/sysdeps/wordsize-64/strtol.c
@@ -0,0 +1,10 @@
+/* We have to irritate the compiler a bit.  */
+#define __strtoll_internal __strtoll_internal_XXX
+#define strtoll strtoll_XXX
+
+#include <sysdeps/generic/strtol.c>
+
+#undef __strtoll_internal
+#undef strtoll
+strong_alias (__strtol_internal, __strtoll_internal)
+weak_alias (__strtoll_internal, strtoll)