2006-06-13 Thomas Schwinge <tschwinge@gnu.org>
authorRoland McGrath <roland@gnu.org>
Sun, 22 Jul 2007 06:46:54 +0000 (06:46 +0000)
committerRoland McGrath <roland@gnu.org>
Sun, 22 Jul 2007 06:46:54 +0000 (06:46 +0000)
* sysdeps/mach/hurd/tls.h: Change `ASSEMBLER' conditional to
`__ASSEMBLER__'.
* sysdeps/mach/hurd/i386/tls.h: Likewise.

sysdeps/mach/hurd/i386/tls.h
sysdeps/mach/hurd/tls.h

index 972cac5..84843e0 100644 (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 */
index cce42ef..8159ed9 100644 (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>