aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h')
-rw-r--r--linuxthreads/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/linuxthreads/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h b/linuxthreads/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h
index 1c7a95dcd8..ca8183f4e9 100644
--- a/linuxthreads/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h
+++ b/linuxthreads/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h
@@ -20,7 +20,7 @@
#include <sysdep.h>
#include <tls.h>
#include <pt-machine.h>
-#ifndef ASSEMBLER
+#ifndef __ASSEMBLER__
# include <linuxthreads/internals.h>
#endif
@@ -102,7 +102,7 @@
# define __local_multiple_threads __libc_multiple_threads
# endif
-# ifndef ASSEMBLER
+# ifndef __ASSEMBLER__
extern int __local_multiple_threads attribute_hidden;
# define SINGLE_THREAD_P \
__builtin_expect (__local_multiple_threads == 0, 1)
@@ -110,7 +110,7 @@ extern int __local_multiple_threads attribute_hidden;
# define SINGLE_THREAD_P cmpl $0, __local_multiple_threads(%rip)
# endif
-#elif !defined ASSEMBLER
+#elif !defined __ASSEMBLER__
/* This code should never be used but we define it anyhow. */
# define SINGLE_THREAD_P (1)