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