svn commit: trunk/uClibc/test/time

vapier at uclibc.org vapier at uclibc.org
Sat Mar 18 04:08:42 UTC 2006


Author: vapier
Date: 2006-03-17 20:08:39 -0800 (Fri, 17 Mar 2006)
New Revision: 14560

Log:
keep uclibc features in the source

Modified:
   trunk/uClibc/test/time/Makefile
   trunk/uClibc/test/time/tst-ftime_l.c


Changeset:
Modified: trunk/uClibc/test/time/Makefile
===================================================================
--- trunk/uClibc/test/time/Makefile	2006-03-18 03:01:57 UTC (rev 14559)
+++ trunk/uClibc/test/time/Makefile	2006-03-18 04:08:39 UTC (rev 14560)
@@ -4,10 +4,6 @@
 TESTS_DISABLED := bug-asctime bug-asctime_r time tst-mktime2 tst-posixtz \
 	tst-strftime tst-strptime tst-timezone
 
-ifneq ($(UCLIBC_HAS_LOCALE),y)
-TESTS_DISABLED += tst-ftime_l
-endif
-
 include ../Test.mak
 
 CFLAGS_tst-strptime2 := -std=c99

Modified: trunk/uClibc/test/time/tst-ftime_l.c
===================================================================
--- trunk/uClibc/test/time/tst-ftime_l.c	2006-03-18 03:01:57 UTC (rev 14559)
+++ trunk/uClibc/test/time/tst-ftime_l.c	2006-03-18 04:08:39 UTC (rev 14560)
@@ -3,7 +3,7 @@
 #include <string.h>
 #include <time.h>
 #include <features.h>
-#ifdef __UCLIBC_HAS_WCHAR__
+#if defined __UCLIBC_HAS_WCHAR__ && defined __UCLIBC_HAS_LOCALE__
 #include <locale.h>
 #include <wchar.h>
 




More information about the uClibc-cvs mailing list