git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(from parent 1:
4a4b438
)
linux-ukernel-pthreads-ugliness-fix-20040312
author
Derrick Brashear
<shadow@dementia.org>
Fri, 12 Mar 2004 05:56:59 +0000 (
05:56
+0000)
committer
Derrick Brashear
<shadow@dementia.org>
Fri, 12 Mar 2004 05:56:59 +0000 (
05:56
+0000)
really an autoconf test should do this. in the meantime we do this.
src/afs/UKERNEL/sysincludes.h
patch
|
blob
|
history
diff --git
a/src/afs/UKERNEL/sysincludes.h
b/src/afs/UKERNEL/sysincludes.h
index
95cf275
..
54f078b
100644
(file)
--- a/
src/afs/UKERNEL/sysincludes.h
+++ b/
src/afs/UKERNEL/sysincludes.h
@@
-143,7
+143,7
@@
#endif /* AFS_AFSDB_ENV */
/* glibc 2.2 has pthread_attr_setstacksize */
-#if defined(AFS_LINUX22_ENV) || defined(AFS_USR_LINUX22_ENV) && (__GLIBC_MINOR__ < 2)
+#if (defined(AFS_LINUX22_ENV) && !defined(AFS_USR_LINUX22_ENV)) || (defined(AFS_USR_LINUX22_ENV) && (__GLIBC_MINOR__ < 2))
#define pthread_attr_setstacksize(a,b) 0
#endif