Browse Source

keep uclibc features in the source

Mike Frysinger 18 years ago
parent
commit
616f7797b0
2 changed files with 1 additions and 5 deletions
  1. 0 4
      test/time/Makefile
  2. 1 1
      test/time/tst-ftime_l.c

+ 0 - 4
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

+ 1 - 1
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>