diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-03-18 04:08:39 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-03-18 04:08:39 +0000 |
commit | 616f7797b0d3f6d5ab9b6ae07efc42e759d75790 (patch) | |
tree | 75246cb0b969ba0175157c5e2a547178fce2090c | |
parent | fc6389aa6a03de5c88ea89a75f0992e65f7c4dc8 (diff) |
keep uclibc features in the source
-rw-r--r-- | test/time/Makefile | 4 | ||||
-rw-r--r-- | test/time/tst-ftime_l.c | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/test/time/Makefile b/test/time/Makefile index db158ec76..bb2a2b5bb 100644 --- a/test/time/Makefile +++ b/test/time/Makefile @@ -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 diff --git a/test/time/tst-ftime_l.c b/test/time/tst-ftime_l.c index 5ecb22fbe..3786f8c09 100644 --- a/test/time/tst-ftime_l.c +++ b/test/time/tst-ftime_l.c @@ -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> |