summaryrefslogtreecommitdiff
path: root/src/locale/uselocale.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/locale/uselocale.c')
-rw-r--r--src/locale/uselocale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/locale/uselocale.c b/src/locale/uselocale.c
index 224ef387..4fc5c64e 100644
--- a/src/locale/uselocale.c
+++ b/src/locale/uselocale.c
@@ -4,7 +4,7 @@
locale_t uselocale(locale_t l)
{
- pthread_t self = pthread_self();
+ pthread_t self = __pthread_self();
locale_t old = self->locale;
if (l) self->locale = l;
return old;