aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-01-18 23:39:39 +0000
committerUlrich Drepper <drepper@redhat.com>2002-01-18 23:39:39 +0000
commit53e9699b6d8562d1f64bb16b558811b766da4e8b (patch)
treec6bff930b7ddb310a511f71f1882f6bc02eb3cf4 /sysdeps/mach/hurd
parentd7a746fc62b802ba05d156447a212b44215c9930 (diff)
downloadglibc-53e9699b6d8562d1f64bb16b558811b766da4e8b.tar
glibc-53e9699b6d8562d1f64bb16b558811b766da4e8b.tar.gz
glibc-53e9699b6d8562d1f64bb16b558811b766da4e8b.tar.bz2
glibc-53e9699b6d8562d1f64bb16b558811b766da4e8b.zip
Update.
* sysdeps/unix/sysv/linux/bits/statvfs.h: Avoid warning about comma at end of enum for !_GNU_SOURCE. * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: Likewise. * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: Likewise. * sysdeps/mach/hurd/bits/statvfs.h: Don't define non-standard ST_* values unless _GNU_SOURCE.
Diffstat (limited to 'sysdeps/mach/hurd')
-rw-r--r--sysdeps/mach/hurd/bits/statvfs.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/sysdeps/mach/hurd/bits/statvfs.h b/sysdeps/mach/hurd/bits/statvfs.h
index a37915e37c..bbaf59a722 100644
--- a/sysdeps/mach/hurd/bits/statvfs.h
+++ b/sysdeps/mach/hurd/bits/statvfs.h
@@ -1,5 +1,5 @@
/* Definition of `struct statvfs', information about a filesystem.
- Copyright (C) 1998 Free Software Foundation, Inc.
+ Copyright (C) 1998, 2002 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
@@ -82,10 +82,13 @@ enum
{
ST_RDONLY = 1,
#define ST_RDONLY ST_RDONLY
- ST_NOSUID = 2,
+ ST_NOSUID = 2
#define ST_NOSUID ST_NOSUID
+#ifdef __USE_GNU
+ ,
ST_NOEXEC = 8,
-#define ST_NOEXEC ST_NOEXEC
+# define ST_NOEXEC ST_NOEXEC
ST_SYNCHRONOUS = 16
-#define ST_SYNCHRONOUS ST_SYNCHRONOUS
+# define ST_SYNCHRONOUS ST_SYNCHRONOUS
+#endif
};