mirror of
https://github.com/apache/nuttx.git
synced 2026-09-21 13:25:12 +08:00
NuttX time.h declares localtime in the global namespace, but the C++ ctime shim does not import it into namespace std. As a result, valid C++ code using std::localtime fails to compile with the NuttX C++ headers, even though ::localtime is available. Add using ::localtime to include/cxx/ctime. Signed-off-by: nicolasWDC <nicolasWDC@users.noreply.github.com>