zephyr/lib/libc/newlib
Binu Jacob 5fa5658ef7 libc: newlibc: Fix recursive gettimeofday() calls on non-Posix systems
Calling gettimeofday() from _gettimeofday() in a non-Posix build
environment can result in a recursive call loop, causing a stack
overflow. Modify _gettimeofday() to return -1 for non-posix systems
(the previous behaviour that was added in #22508).

Fixes #41095

Signed-off-by: Binu Jacob <bjj@planetinnovation.com.au>
2022-01-21 15:27:45 -05:00
..
include
CMakeLists.txt cmake: newlib linking flags -lc and -lgcc circular dependency 2021-01-20 09:25:38 -05:00
libc-hooks.c libc: newlibc: Fix recursive gettimeofday() calls on non-Posix systems 2022-01-21 15:27:45 -05:00