about summary refs log tree commit diff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-03-31 14:07:39 -0700
committerUlrich Drepper <drepper@redhat.com>2010-03-31 14:07:39 -0700
commit960af486d29fb1c233c5cd92e1d6dc029daeb7af (patch)
treec217e782a5b3860020edcc3710f8c12c5293b39c /sysdeps/unix
parent6d28d423b2e47ad3534fb8807f4b0f31c2c0fa9a (diff)
downloadglibc-960af486d29fb1c233c5cd92e1d6dc029daeb7af.tar.gz
glibc-960af486d29fb1c233c5cd92e1d6dc029daeb7af.tar.xz
glibc-960af486d29fb1c233c5cd92e1d6dc029daeb7af.zip
Fix build of mmap64.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/mmap64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/mmap64.c b/sysdeps/unix/sysv/linux/mmap64.c
index 85c801d501..b24b3f0c8b 100644
--- a/sysdeps/unix/sysv/linux/mmap64.c
+++ b/sysdeps/unix/sysv/linux/mmap64.c
@@ -49,7 +49,7 @@ void *
 __mmap64 (void *addr, size_t len, int prot, int flags, int fd, off64_t offset)
 {
 #ifdef __NR_mmap2
-# ifdef MMAP2_PAGE_SHIFT == -1
+# if MMAP2_PAGE_SHIFT == -1
   if (page_shift == 0)
     {
       int page_size = getpagesize ();