summaryrefslogtreecommitdiff
path: root/libc/misc/time/__time_locale.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-05-11 05:40:55 +0000
committerEric Andersen <andersen@codepoet.org>2002-05-11 05:40:55 +0000
commitfd15708e6476164990e7b364dc5b2aa1600f8e89 (patch)
tree7627bd8a8c546f2fafd99fb52c1f96fdf4b242ce /libc/misc/time/__time_locale.c
parenta4f07581502ee212aa45e7b0049fdd126dd10b40 (diff)
Begin the process of reworking the time functions for proper
time zone and locale support (in theory). More work is still needed. -Erik
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
+