aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/wordsize-64/wcstol.c')
-rw-r--r--sysdeps/wordsize-64/wcstol.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/sysdeps/wordsize-64/wcstol.c b/sysdeps/wordsize-64/wcstol.c
new file mode 100644
index 0000000000..f7873b745b
--- /dev/null
+++ b/sysdeps/wordsize-64/wcstol.c
@@ -0,0 +1,10 @@
+/* We have to irritate the compiler a bit. */
+#define __wcstoll_internal __wcstoll_internal_XXX
+#define wcstoll wcstoll_XXX
+
+#include <sysdeps/generic/wcstol.c>
+
+#undef __wcstoll_internal
+#undef wcstoll
+strong_alias (__wcstol_internal, __wcstoll_internal)
+weak_alias (__wcstoll_internal, wcstoll)