summaryrefslogtreecommitdiff
path: root/libpthread
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-23 19:25:12 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-23 19:25:12 +0000
commitbfa91a43d6f8a58aa9db375ed0a6209293e9f312 (patch)
treebbc7fa087f78143ef291e1e2fb973755585921ff /libpthread
parent60155d4649bde150591fb8ce3c6b0260739ad05c (diff)
Make i386 build w/ -std=c99 (almost)
Diffstat (limited to 'libpthread')
-rw-r--r--libpthread/linuxthreads.old/internals.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpthread/linuxthreads.old/internals.h b/libpthread/linuxthreads.old/internals.h
index 8422db58f..1aadb96b9 100644
--- a/libpthread/linuxthreads.old/internals.h
+++ b/libpthread/linuxthreads.old/internals.h
@@ -366,7 +366,7 @@ extern size_t __pagesize;
all outstanding operations which modify memory. Some architectures
distinguish between full, read and write barriers. */
#ifndef MEMORY_BARRIER
-#define MEMORY_BARRIER() asm ("" : : : "memory")
+#define MEMORY_BARRIER() __asm__ ("" : : : "memory")
#endif
#ifndef READ_MEMORY_BARRIER
#define READ_MEMORY_BARRIER() MEMORY_BARRIER()