mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
When default toolchain is used and architecture not listed in "#if" in jerry-libm-internal.h on little endian around 90 test-suite tests, 4 unittests and 30 jerry-tests fails depending on setup tested. This change checks endians in case no toolchain is found and sets __LITTLE_ENDIAN macro if it is little endian. This way it will be set for any future arhitectures using little endian and architecture that can have both big and little endian not listed in jerry-libm-internal.h check. JerryScript-DCO-1.0-Signed-off-by: Lidija Besker lidija.besker@rt-rk.com