Skip to content

Look up __pthread_get_minstack only in glibc

Wan-Teh Chang requested to merge (removed):patch-4 into master

Android uses bionic, not glibc, as the C library. Since linux is also defined for Android, test GLIBC to avoid looking up __pthread_get_minstack in Android bionic.

Also, include <dlfcn.h> only if HAVE_DLSYM is defined. In glibc, <dlfcn.h> includes <features.h>, which defines GLIBC.

Merge request reports

Loading