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