From f4847bb96be7fd11db880b34b901b919b9e9d7e1 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Tue, 17 Jul 2007 05:05:29 +0000 Subject: [PATCH] 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) --- src/config/param.sparc_linux24.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/config/param.sparc_linux24.h b/src/config/param.sparc_linux24.h index d99c56c..97585d7 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 */ -- 1.9.4