summaryrefslogtreecommitdiff
path: root/include/langinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/langinfo.h')
-rw-r--r--include/langinfo.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/langinfo.h b/include/langinfo.h
index a57a871c5..a129c12ae 100644
--- a/include/langinfo.h
+++ b/include/langinfo.h
@@ -605,8 +605,8 @@ enum
extern char *nl_langinfo (nl_item __item) __THROW;
-#if 0
-/*#ifdef __USE_GNU*/
+#ifdef __UCLIBC_HAS_XLOCALE__
+#ifdef __USE_GNU
/* This interface is for the extended locale model. See <locale.h> for
more information. */
@@ -614,8 +614,9 @@ extern char *nl_langinfo (nl_item __item) __THROW;
# include <xlocale.h>
/* Just like nl_langinfo but get the information from the locale object L. */
-extern char *__nl_langinfo_l (nl_item __item, __locale_t l);
-#endif /* 0 */
+extern char *nl_langinfo_l (nl_item __item, __locale_t l);
+#endif
+#endif
__END_DECLS