[git commit prelink 1/1] nptl: get rid of the last preprocessor warning when __ASSUME_TGKILL is not defined

Carmelo Amoroso carmelo.amoroso at st.com
Tue Jan 25 11:52:31 UTC 2011


commit: http://git.uclibc.org/uClibc/commit/?id=8958a63759c2ae23b47e76efeed1b7fc1f22728c
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/prelink

A missing change in the previous commit.

Signed-off-by: Carmelo Amoroso <carmelo.amoroso at st.com>
---
 libpthread/nptl/allocatestack.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libpthread/nptl/allocatestack.c b/libpthread/nptl/allocatestack.c
index 9ffa7e7..1c549ce 100644
--- a/libpthread/nptl/allocatestack.c
+++ b/libpthread/nptl/allocatestack.c
@@ -993,7 +993,7 @@ setxid_signal_thread (struct xid_command *cmdp, struct pthread *t)
 
   int val;
   INTERNAL_SYSCALL_DECL (err);
-#if __ASSUME_TGKILL
+#if defined (__ASSUME_TGKILL) && __ASSUME_TGKILL
   val = INTERNAL_SYSCALL (tgkill, err, 3, THREAD_GETMEM (THREAD_SELF, pid),
 			  t->tid, SIGSETXID);
 #else
-- 
1.7.3.4



More information about the uClibc-cvs mailing list