Commit e169ba2b83c780058fe626856cfdb5903a85cb97

Kylie McClain 2016-04-29T21:04:07

Fix usage on musl libc A gcc compiled on musl does not define __gnu_linux__, it defines __linux__. Only on glibc does __gnu_linux__ get defined, but both define __linux__, so we should check for that instead. With this patch, libffi works perfectly, and passes its testsuite entirely on musl libc systems.