Enable build with musl libc
authorMichael Fox <mfox@cavium.com>
Mon, 11 Jan 2016 07:01:34 +0000 (10:01 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 11 Jan 2016 07:01:34 +0000 (10:01 +0300)
* include/private/gcconfig.h (NO_GETCONTEXT): Define if __gnu_linux__
undefined (in case of LINUX is defined).

include/private/gcconfig.h

index ca42efa..1aa4923 100644 (file)
                              || defined(OPENBSD) || defined(ARM32) \
                              || defined(MIPS) || defined(AVR32) \
                              || defined(OR1K))) \
-     || (defined(LINUX) && (defined(SPARC) || defined(M68K))) \
+     || (defined(LINUX) && !defined(__gnu_linux__)) \
      || (defined(RTEMS) && defined(I386)) || defined(PLATFORM_ANDROID)) \
     && !defined(NO_GETCONTEXT)
 # define NO_GETCONTEXT