From: Russ Allbery Date: Tue, 17 Jul 2007 05:05:29 +0000 (+0000) Subject: DEVEL15-sparc32-no-ucontext-20070716 X-Git-Tag: openafs-devel-1_5_22~43 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=f4847bb96be7fd11db880b34b901b919b9e9d7e1;p=packages%2Fo%2Fopenafs.git DEVEL15-sparc32-no-ucontext-20070716 Undefine 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 */