summaryrefslogtreecommitdiff
path: root/libc/misc/time/__time_locale.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/time/__time_locale.c')
-rw-r--r--libc/misc/time/__time_locale.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/misc/time/__time_locale.c b/libc/misc/time/__time_locale.c
index 9956134cf..0d78a0a67 100644
--- a/libc/misc/time/__time_locale.c
+++ b/libc/misc/time/__time_locale.c
@@ -1,3 +1,4 @@
+#ifndef __UCLIBC_HAS_LOCALE__
char const __weekday_name[][10] =
{
"Sunday", "Monday", "Tuesday", "Wednesday",
@@ -25,3 +26,5 @@ const unsigned short int __mon_yday[2][13] =
/* Leap years. */
{ 0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335, 366 }
};
+#endif
+