Mercurial > pub > dyncall > dyncall
diff dyncall/dyncall_macros.h @ 254:9d70178c1ded
- better cpp checking whether dlinfo() is available, to also cover GLIBC based systems that don't identify as Linux (e.g. debian/k*BSD)
author | Tassilo Philipp |
---|---|
date | Mon, 15 May 2017 13:06:04 +0200 |
parents | a74e2cd93348 |
children | b625f2e11911 |
line wrap: on
line diff
--- a/dyncall/dyncall_macros.h Mon May 15 02:50:03 2017 +0200 +++ b/dyncall/dyncall_macros.h Mon May 15 13:06:04 2017 +0200 @@ -72,7 +72,7 @@ #define DC__OS_Linux /* The most powerful open source Unix-like OS - FreeBSD. */ -#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) +#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) /* latter is (also) used by systems using FreeBSD kernel, e.g. Debian/kFreeBSD, which could be detected specifically by also checking for __GLIBC__ */ #define DC__OS_FreeBSD /* The most secure open source Unix-like OS - OpenBSD. */