From: Russ Allbery Date: Tue, 17 Jul 2007 04:46:25 +0000 (+0000) Subject: sparc32-no-ucontext-20070716 X-Git-Tag: BP-openafs-windows-kdfs-ifs~603 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=7fb5e02ff4d9a7fe70b2ecbfdb50065d7e6322ff;p=packages%2Fo%2Fopenafs.git sparc32-no-ucontext-20070716 Undefine USE_UCONTEXT on sparc32 Linux since glibc doesn't implement getcontext/setcontext for that architecture. --- diff --git a/src/config/param.sparc_linux22.h b/src/config/param.sparc_linux22.h index 5846eae74..afeb186cd 100644 --- a/src/config/param.sparc_linux22.h +++ b/src/config/param.sparc_linux22.h @@ -50,4 +50,8 @@ #define AFS_SYSCALL 227 #define AFSBIG_ENDIAN 1 +/* glibc doesn't implement getcontext/savecontext for 32-bit sparc, so + never use UCONTEXT here. */ +#undef USE_UCONTEXT + #endif /* AFS_PARAM_H */ diff --git a/src/config/param.sparc_linux24.h b/src/config/param.sparc_linux24.h index ccc31bfa0..1e98e518e 100644 --- a/src/config/param.sparc_linux24.h +++ b/src/config/param.sparc_linux24.h @@ -50,4 +50,8 @@ #define AFS_SYSCALL 227 #define AFSBIG_ENDIAN 1 +/* glibc doesn't implement getcontext/savecontext for 32-bit sparc, so + never use UCONTEXT here. */ +#undef USE_UCONTEXT + #endif /* AFS_PARAM_H */