about summary refs log tree commit diff
path: root/REORG.TODO/sysdeps/wordsize-64/wcstol_l.c
diff options
context:
space:
mode:
Diffstat (limited to 'REORG.TODO/sysdeps/wordsize-64/wcstol_l.c')
-rw-r--r--REORG.TODO/sysdeps/wordsize-64/wcstol_l.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/REORG.TODO/sysdeps/wordsize-64/wcstol_l.c b/REORG.TODO/sysdeps/wordsize-64/wcstol_l.c
new file mode 100644
index 0000000000..4f48f60c65
--- /dev/null
+++ b/REORG.TODO/sysdeps/wordsize-64/wcstol_l.c
@@ -0,0 +1,13 @@
+/* We have to irritate the compiler a bit.  */
+#define ____wcstoll_l_internal ____wcstoll_l_internal_XXX
+#define __wcstoll_l ___wcstoll_l_XXX
+#define wcstoll_l __wcstoll_l_XX
+
+#include <wcsmbs/wcstol_l.c>
+
+#undef ____wcstoll_l_internal
+#undef __wcstoll_l
+#undef wcstoll_l
+strong_alias (____wcstol_l_internal, ____wcstoll_l_internal)
+weak_alias (__wcstol_l, __wcstoll_l)
+weak_alias (__wcstol_l, wcstoll_l)