From b73a7515b63cb8c665ae4c647839eba69a076975 Mon Sep 17 00:00:00 2001 From: Chris Croswhite Date: Wed, 30 Dec 2015 19:12:42 -0600 Subject: [PATCH] Small compilation issue when selecting localtime, this patch adds the correct ifdef. --- libc/time/lib_strftime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libc/time/lib_strftime.c b/libc/time/lib_strftime.c index fafdedc6b4..6af9220297 100644 --- a/libc/time/lib_strftime.c +++ b/libc/time/lib_strftime.c @@ -70,7 +70,7 @@ * Private Data ****************************************************************************/ -#ifdef CONFIG_TIME_EXTENDED +#if defined(CONFIG_LIBC_LOCALTIME) || defined(CONFIG_TIME_EXTENDED) static const char * const g_abbrev_wdayname[7] = { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"