aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-08-08 11:46:51 +0000
committerUlrich Drepper <drepper@redhat.com>2002-08-08 11:46:51 +0000
commitc0b338331e8eb0979b909479d6aa9fd1cddd63ec (patch)
treef6bd4c392ec6898681f8cf348f8497c6cb554849 /sysdeps
parentb7eb7b0f6d971568ea2d478950bd7ca18ac27d5a (diff)
downloadglibc-c0b338331e8eb0979b909479d6aa9fd1cddd63ec.tar
glibc-c0b338331e8eb0979b909479d6aa9fd1cddd63ec.tar.gz
glibc-c0b338331e8eb0979b909479d6aa9fd1cddd63ec.tar.bz2
glibc-c0b338331e8eb0979b909479d6aa9fd1cddd63ec.zip
Update.
2002-08-08 Jakub Jelinek <jakub@redhat.com> * sysdeps/wordsize-64/wcstol_l.c (wcstoll_l): Define to something else and undefine after including wcstol_l.c. * sysdeps/wordsize-64/wcstoul_l.c (wcstoull_l): Similarly.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/wordsize-64/wcstol_l.c4
-rw-r--r--sysdeps/wordsize-64/wcstoul_l.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/sysdeps/wordsize-64/wcstol_l.c b/sysdeps/wordsize-64/wcstol_l.c
index 57fb641839..fe81147fe2 100644
--- a/sysdeps/wordsize-64/wcstol_l.c
+++ b/sysdeps/wordsize-64/wcstol_l.c
@@ -1,11 +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_XXX
+#define wcstoll_l __wcstoll_l_XX
#include <sysdeps/generic/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)
diff --git a/sysdeps/wordsize-64/wcstoul_l.c b/sysdeps/wordsize-64/wcstoul_l.c
index f9b34d4978..d13bd5b16a 100644
--- a/sysdeps/wordsize-64/wcstoul_l.c
+++ b/sysdeps/wordsize-64/wcstoul_l.c
@@ -1,11 +1,13 @@
/* We have to irritate the compiler a bit. */
#define ____wcstoull_l_internal ____wcstoull_l_internal_XXX
-#define __wcstoull_l __wcstoull_l_XXX
+#define __wcstoull_l ___wcstoull_l_XXX
+#define wcstoull_l __wcstoull_l_XXX
#include <sysdeps/generic/wcstoul_l.c>
#undef ____wcstoull_l_internal
#undef __wcstoull_l
+#undef wcstoull_l
strong_alias (____wcstoul_l_internal, ____wcstoull_l_internal)
weak_alias (__wcstoul_l, __wcstoull_l)
weak_alias (__wcstoul_l, wcstoull_l)