about summary refs log tree commit diff
path: root/nptl/atomic.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-02-05 23:30:38 +0000
committerUlrich Drepper <drepper@redhat.com>2003-02-05 23:30:38 +0000
commit5cd09cd6482726257275ce45e39c5dd7dcbe9251 (patch)
treeb15b315544dbf3884ed08e1f0cacc787a3185ca4 /nptl/atomic.h
parente0f86659bebf16c150e1c4cfe385c643c424e322 (diff)
downloadglibc-5cd09cd6482726257275ce45e39c5dd7dcbe9251.tar.gz
glibc-5cd09cd6482726257275ce45e39c5dd7dcbe9251.tar.xz
glibc-5cd09cd6482726257275ce45e39c5dd7dcbe9251.zip
Update.
	* sysdeps/unix/sysv/linux/posix_fadvise.c: New file.
	* sysdeps/unix/sysv/linux/syscalls.list: Add posix_fadvise64 syscall.
	* sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
Diffstat (limited to 'nptl/atomic.h')
-rw-r--r--nptl/atomic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/atomic.h b/nptl/atomic.h
index 85a43c01e6..4279235a71 100644
--- a/nptl/atomic.h
+++ b/nptl/atomic.h
@@ -91,7 +91,7 @@
 #endif
 
 
-#ifdef atomic_add_negative
+#ifndef atomic_add_negative
 # define atomic_add_negative(mem, value) \
   (atomic_exchange_and_add (mem, value) < 0)
 #endif