mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-01 10:06:57 +03:00
linux: Set default kernel_stat.h to LFS
The XSTAT_IS_XSTAT64 and STAT_IS_KERNEL_STAT flags are now set to 1 and STATFS_IS_STATFS64 is set to __STATFS_MATCHES_STATFS64. This makes the default ABI for newer ports to provide only LFS calls. A copy of non-LFS support is provided to 32-bit ABIS with non-LFS support (arm, csky, i386, m68k, nios2, s390, and sh). Is also allows to remove the 64-bit ports, which already uses the default values. This patch does not change the code generation. Reviewed-by: Carlos O'Donell <carlos@redhat.com>
This commit is contained in:
@ -21,12 +21,7 @@
|
||||
#include <kernel_stat.h>
|
||||
#include <sysdep.h>
|
||||
|
||||
#if STAT_IS_KERNEL_STAT
|
||||
|
||||
/* Dummy. */
|
||||
struct kernel_stat;
|
||||
|
||||
#else
|
||||
#if !STAT_IS_KERNEL_STAT
|
||||
|
||||
#include <string.h>
|
||||
|
||||
|
Reference in New Issue
Block a user