From: Russ Allbery Date: Tue, 17 Jul 2007 05:06:41 +0000 (+0000) Subject: STABLE14-sparc32-no-ucontext-20070716 X-Git-Tag: openafs-stable-1_4_5-pre1~57 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=4288dcf2e17b9799f76828a01be73ccf8ac61063;p=packages%2Fo%2Fopenafs.git STABLE14-sparc32-no-ucontext-20070716 Don't define USE_UCONTEXT on sparc32 Linux since glibc doesn't implement getcontext/setcontext for that architecture. (cherry picked from commit 7fb5e02ff4d9a7fe70b2ecbfdb50065d7e6322ff) --- diff --git a/src/config/param.sparc_linux24.h b/src/config/param.sparc_linux24.h index d99c56c8d..97585d7be 100644 --- a/src/config/param.sparc_linux24.h +++ b/src/config/param.sparc_linux24.h @@ -98,11 +98,8 @@ #endif #endif -#ifdef __GLIBC__ -#if (__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 3) -#define USE_UCONTEXT -#endif -#endif +/* Don't define USE_UCONTEXT on this platform. It requires getcontext and + setcontext from glibc, which aren't implemented for 32-bit SPARC. */ #endif /* AFS_PARAM_H */