mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
Zephyr SDK 0.8.2 contains newlib 2.4.0 which doesn't provide gettimeofday() declaration by default, but needs _XOPEN_SOURCE defined for this. While this is definitely an issue with newlib 2.4.0 (to be fixed in one of the next releases), defining _XOPEN_SOURCE is quite a harmless workaround. JerryScript-DCO-1.0-Signed-off-by: Paul Sokolovsky paul.sokolovsky@linaro.org