]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
DEVEL15-sparc32-no-ucontext-20070716
authorRuss Allbery <rra@stanford.edu>
Tue, 17 Jul 2007 05:05:29 +0000 (05:05 +0000)
committerRuss Allbery <rra@stanford.edu>
Tue, 17 Jul 2007 05:05:29 +0000 (05:05 +0000)
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

index d99c56c8da15b0183f25fd314d0ebbb271dc4213..97585d7be0530f0b57c9c936e9ea3c63b4908b83 100644 (file)
 #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 */