about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2003-06-24 10:02:24 +0000
committerAndreas Jaeger <aj@suse.de>2003-06-24 10:02:24 +0000
commit99ce47705522a2ab33ec5b3f645a3a8263d47677 (patch)
tree8e8356d3630d5db88e3a32d625b8c0857dc4f29a /sysdeps
parent24176967122b027e51e437ace3b9afdf841fed9d (diff)
downloadglibc-99ce47705522a2ab33ec5b3f645a3a8263d47677.tar.gz
glibc-99ce47705522a2ab33ec5b3f645a3a8263d47677.tar.xz
glibc-99ce47705522a2ab33ec5b3f645a3a8263d47677.zip
(_STAT_VER_LINUX): Avoid redeclaration with 32-bit code.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/x86_64/bits/stat.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/x86_64/bits/stat.h b/sysdeps/unix/sysv/linux/x86_64/bits/stat.h
index 52b16c4c7a..6f6dd3261d 100644
--- a/sysdeps/unix/sysv/linux/x86_64/bits/stat.h
+++ b/sysdeps/unix/sysv/linux/x86_64/bits/stat.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+/* Copyright (C) 1999,2000,2001,2002,2003 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
@@ -22,8 +22,6 @@
 
 /* Versions of the `struct stat' data structure.  */
 #define _STAT_VER_KERNEL	0
-#define _STAT_VER_LINUX		1
-#define _STAT_VER		_STAT_VER_LINUX
 
 #if __WORDSIZE == 32
 # define _STAT_VER_SVR4		2
@@ -34,10 +32,14 @@
 # define _MKNOD_VER_SVR4	2
 # define _MKNOD_VER		_MKNOD_VER_LINUX /* The bits defined below.  */
 #else
+# define _STAT_VER_LINUX	1
+
 /* x86-64 versions of the `xmknod' interface.  */
 # define _MKNOD_VER_LINUX	0
 #endif
 
+#define _STAT_VER		_STAT_VER_LINUX
+
 struct stat
   {
     __dev_t st_dev;		/* Device.  */