about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/bits
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-05-21 11:45:16 -0700
committerH.J. Lu <hjl.tools@gmail.com>2012-05-21 11:45:16 -0700
commit61f65140eb0fe350ef59aca95b89d784e30f24af (patch)
tree0396020982bab8e035dd798466a13e4174b3e9ee /sysdeps/unix/sysv/linux/bits
parent5fefb43629b36b143c9ac100b89408a2cbeed3a8 (diff)
downloadglibc-61f65140eb0fe350ef59aca95b89d784e30f24af.tar.gz
glibc-61f65140eb0fe350ef59aca95b89d784e30f24af.tar.xz
glibc-61f65140eb0fe350ef59aca95b89d784e30f24af.zip
Define __SYSCALL_WORDSIZE for x86-64
Diffstat (limited to 'sysdeps/unix/sysv/linux/bits')
-rw-r--r--sysdeps/unix/sysv/linux/bits/statvfs.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/bits/statvfs.h b/sysdeps/unix/sysv/linux/bits/statvfs.h
index 4b3fc5733e..d835dff019 100644
--- a/sysdeps/unix/sysv/linux/bits/statvfs.h
+++ b/sysdeps/unix/sysv/linux/bits/statvfs.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997,1998,2000,2001,2002,2006 Free Software Foundation, Inc.
+/* Copyright (C) 1997-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -21,7 +21,8 @@
 
 #include <bits/types.h>  /* For __fsblkcnt_t and __fsfilcnt_t.  */
 
-#if __WORDSIZE == 32
+#if (__WORDSIZE == 32 \
+     && (!defined __SYSCALL_WORDSIZE || __SYSCALL_WORDSIZE == 32))
 #define _STATVFSBUF_F_UNUSED
 #endif