mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
exfat: fix comlile break because tzset undefine
Change-Id: Ia2a9b5474d5fd7b66de2353b9c62483af7d35c8a Signe-off-by: Jiuzhu Dong <dongjiuzhu1@xiaom.com>
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include <time.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <string.h>
|
||||
@@ -1405,3 +1406,9 @@ static int exfatfs_format(FAR struct exfat *ef, FAR const char *spec,
|
||||
|
||||
return exfat_close(dev);
|
||||
}
|
||||
|
||||
#ifndef CONFIG_LIBC_LOCALTIME
|
||||
void tzset(void)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user