Skip to content

fix kFreeBSD build and probably other glibc based OS like hurd #27

Merged
merged 1 commit into from Jan 15, 2012

2 participants

@goneri
goneri commented Jan 15, 2012

GNU/kFreeBSD uses the GNU libc whereas Android uses
its own libc. So OS_Linux is not reliable enough to
identify a glibc.

We use GLIBC to know if we are on a glibc instead of
OS_Linux.

GLIBC is defined by features.hi which is pulled
by the glibc headers. That's the reason why we can't
check GLIBC at the begining of the file.

@goneri goneri fix: kfreebsd build
GNU/kFreeBSD uses the GNU libc whereas Android uses
its own libc. So OS_Linux is not reliable enough to
identify a glibc.

We use __GLIBC__ to know if we are on a glibc instead of
OS_Linux.

__GLIBC__ is defined by features.hi which is pulled
by the glibc headers. That's the reason why we can't
check __GLIBC__ at the begining of the file.
0aa0387
@jnthn jnthn merged commit b9daf3b into perl6:master Jan 15, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.