svn commit: trunk/uClibc/libc/misc/time

andersen at uclibc.org andersen at uclibc.org
Tue Nov 7 20:50:21 UTC 2006


Author: andersen
Date: 2006-11-07 12:50:21 -0800 (Tue, 07 Nov 2006)
New Revision: 16521

Log:
I failed to check the patch adding support for the new (stupid) US 2007
daylight savings time rules when xlocale was enabled.  Fix compile error.


Modified:
   trunk/uClibc/libc/misc/time/time.c


Changeset:
Modified: trunk/uClibc/libc/misc/time/time.c
===================================================================
--- trunk/uClibc/libc/misc/time/time.c	2006-11-07 19:05:43 UTC (rev 16520)
+++ trunk/uClibc/libc/misc/time/time.c	2006-11-07 20:50:21 UTC (rev 16521)
@@ -196,7 +196,9 @@
 #endif
 
 #if defined (L_tzset) || defined (L_localtime_r) || defined(L_strftime) || \
-    defined(L__time_mktime) || defined(L__time_mktime_tzi)
+    defined(L__time_mktime) || defined(L__time_mktime_tzi) || \
+    ((defined(L_strftime) || defined(L_strftime_l)) && \
+    defined(__UCLIBC_HAS_XLOCALE__))
 
 void _time_tzset(int use_old_rules);
 libc_hidden_proto(_time_tzset)




More information about the uClibc-cvs mailing list