jamvm: Use <fenv.h> instead of <fpu_control.h>
authorGuo Li <uxgood.org@gmail.com>
Sun, 2 Sep 2018 10:27:59 +0000 (18:27 +0800)
committerYousong Zhou <yszhou4tech@gmail.com>
Wed, 5 Sep 2018 14:18:02 +0000 (22:18 +0800)
commit2f96d96aff521f59b192b01971dc669028252f22
treeebfe5d1bf36d3a4ef8861d8a740c446b8050e2ec
parent7124f0b6c9f5b877f34b11b9efd3637895654545
jamvm: Use <fenv.h> instead of <fpu_control.h>

musl libc (http://musl-libc.org lack the non-standard <fpu_control.h>
header, which is used in src/os/linux/{i386,x86_64}/init.c files to
setup the floating point precision. This patch makes it use the
standard C <fenv.h> header instead.

Original patch at Felix Janda at
https://sourceforge.net/p/jamvm/patches/6/

Signed-off-by: Guo Li <uxgood.org@gmail.com>
lang/jamvm/Makefile
lang/jamvm/patches/001-Use-fenv.h-instead-of-fpu_control.h.patch [new file with mode: 0644]