mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 21:34:07 +08:00
libc/time: redirect timegm(3) to mktime(3)
See the reference here: https://man7.org/linux/man-pages/man3/timegm.3.html Change-Id: Ic583b1bd5c7da02086aef7ff043003e402faa4d4 Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
@@ -100,6 +100,10 @@
|
||||
|
||||
#define TIME_UTC 1
|
||||
|
||||
/* Redirect the timegm */
|
||||
|
||||
#define timegm mktime
|
||||
|
||||
/********************************************************************************
|
||||
* Public Types
|
||||
********************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user