mirror of
https://github.com/apache/nuttx.git
synced 2026-05-23 23:28:29 +08:00
libc: Implement local_t related functions
since local_t isn't really implemented on NuttX, we can simply redirect to the non-locale version. Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Gustavo Henrique Nihei
parent
decf7d0ad9
commit
cdc781bdfd
+3
-2
@@ -91,9 +91,10 @@
|
||||
|
||||
#define TIME_UTC 1
|
||||
|
||||
/* Redirect the timelocal */
|
||||
/* Redirect the timelocal and strftime_l */
|
||||
|
||||
#define timelocal mktime
|
||||
#define timelocal mktime
|
||||
#define strftime_l(s, m, f, t, l) strftime(s, m, f, t)
|
||||
|
||||
/********************************************************************************
|
||||
* Public Types
|
||||
|
||||
Reference in New Issue
Block a user