@@ -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
@@ -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>