aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-01-05 10:21:08 +0000
committerUlrich Drepper <drepper@redhat.com>2003-01-05 10:21:08 +0000
commita7f7b879fbe6fb58b670ad41d2b6e40f14730cb8 (patch)
treeb493b5343001aceb80acb48eebe7738c23a66e6a /linuxthreads
parent00e58701f31f8628106948aa6486487ed89ece52 (diff)
downloadglibc-a7f7b879fbe6fb58b670ad41d2b6e40f14730cb8.zip
glibc-a7f7b879fbe6fb58b670ad41d2b6e40f14730cb8.tar.gz
glibc-a7f7b879fbe6fb58b670ad41d2b6e40f14730cb8.tar.bz2
Update.
2003-01-04 Jakub Jelinek <jakub@redhat.com> * internals.h (LIBC_THREAD_GETMEM, LIBC_THREAD_SETMEM): Define even if NOT_IN_libc is defined.
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/ChangeLog5
-rw-r--r--linuxthreads/internals.h14
2 files changed, 11 insertions, 8 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index f7440a5..f7a01f4 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,8 @@
+2003-01-04 Jakub Jelinek <jakub@redhat.com>
+
+ * internals.h (LIBC_THREAD_GETMEM, LIBC_THREAD_SETMEM): Define
+ even if NOT_IN_libc is defined.
+
2003-01-05 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: New file.
diff --git a/linuxthreads/internals.h b/linuxthreads/internals.h
index 6241e93..f4c7653 100644
--- a/linuxthreads/internals.h
+++ b/linuxthreads/internals.h
@@ -43,15 +43,13 @@
# define THREAD_SETMEM_NC(descr, member, value) descr->member = (value)
#endif
-#ifndef NOT_IN_libc
-# ifdef FLOATING_STACKS
-# define LIBC_THREAD_GETMEM(descr, member) THREAD_GETMEM (descr, member)
-# define LIBC_THREAD_SETMEM(descr, member, value) \
+#if !defined NOT_IN_libc && defined FLOATING_STACKS
+# define LIBC_THREAD_GETMEM(descr, member) THREAD_GETMEM (descr, member)
+# define LIBC_THREAD_SETMEM(descr, member, value) \
THREAD_SETMEM (descr, member, value)
-# else
-# define LIBC_THREAD_GETMEM(descr, member) descr->member
-# define LIBC_THREAD_SETMEM(descr, member, value) descr->member = (value)
-# endif
+#else
+# define LIBC_THREAD_GETMEM(descr, member) descr->member
+# define LIBC_THREAD_SETMEM(descr, member, value) descr->member = (value)
#endif
typedef void (*destr_function)(void *);