about summary refs log tree commit diff
path: root/linuxthreads/sysdeps/i386/pt-machine.h
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/sysdeps/i386/pt-machine.h')
-rw-r--r--linuxthreads/sysdeps/i386/pt-machine.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/linuxthreads/sysdeps/i386/pt-machine.h b/linuxthreads/sysdeps/i386/pt-machine.h
index 5a758584da..ec92ce2418 100644
--- a/linuxthreads/sysdeps/i386/pt-machine.h
+++ b/linuxthreads/sysdeps/i386/pt-machine.h
@@ -22,6 +22,7 @@
 #ifndef _PT_MACHINE_H
 #define _PT_MACHINE_H	1
 
+#ifndef ASSEMBLER
 #ifndef PT_EI
 # define PT_EI extern inline
 #endif
@@ -102,5 +103,6 @@ compare_and_swap_is_available (void)
      Otherwise, it's a 486 or above and it has cmpxchg.  */
   return changed != 0;
 }
+#endif /* ASSEMBLER */
 
 #endif /* pt-machine.h */