Small compilation issue when selecting localtime, this patch adds the correct ifdef.

This commit is contained in:
Chris Croswhite 2015-12-30 19:12:42 -06:00 committed by Gregory Nutt
parent 05d16f15da
commit b73a7515b6
1 changed files with 1 additions and 1 deletions

View File

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