From a7f7b879fbe6fb58b670ad41d2b6e40f14730cb8 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 5 Jan 2003 10:21:08 +0000 Subject: Update. 2003-01-04 Jakub Jelinek * internals.h (LIBC_THREAD_GETMEM, LIBC_THREAD_SETMEM): Define even if NOT_IN_libc is defined. --- linuxthreads/internals.h | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'linuxthreads/internals.h') 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 *); -- cgit v1.1