2006-06-13 Thomas Schwinge <tschwinge@gnu.org>

* sysdeps/mach/hurd/tls.h: Change `ASSEMBLER' conditional to
	`__ASSEMBLER__'.
	* sysdeps/mach/hurd/i386/tls.h: Likewise.
This commit is contained in:
Roland McGrath 2007-07-22 06:46:54 +00:00
parent dde0763af5
commit 7b153ce13a
2 changed files with 3 additions and 3 deletions

View file

@ -29,7 +29,7 @@
thread pointer points to is unspecified. Allocate the TCB there. */
# define TLS_TCB_AT_TP 1
# ifndef ASSEMBLER
# ifndef __ASSEMBLER__
/* Use i386-specific RPCs to arrange that %gs segment register prefix
addresses the TCB in each thread. */
@ -165,7 +165,7 @@ _hurd_tls_fork (thread_t child, struct i386_thread_state *state)
return err;
}
# endif /* !ASSEMBLER */
# endif /* !__ASSEMBLER__ */
#endif /* HAVE_TLS_SUPPORT */
#endif /* i386/tls.h */

View file

@ -20,7 +20,7 @@
#ifndef _TLS_H
#define _TLS_H
#if defined HAVE_TLS_SUPPORT && !defined ASSEMBLER
#if defined HAVE_TLS_SUPPORT && !defined __ASSEMBLER__
# include <stddef.h>
# include <stdbool.h>