aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2002-06-07 12:34:22 +0000
committerAndreas Jaeger <aj@suse.de>2002-06-07 12:34:22 +0000
commit2ac0e3da17cd40ffaa962be11f408d7d408434c4 (patch)
tree6a0090b5bc9e56bdf8a53c6890c1c97361afef73 /include
parent7baf750c21d51ee1489d617967b8256523b90254 (diff)
downloadglibc-2ac0e3da17cd40ffaa962be11f408d7d408434c4.tar
glibc-2ac0e3da17cd40ffaa962be11f408d7d408434c4.tar.gz
glibc-2ac0e3da17cd40ffaa962be11f408d7d408434c4.tar.bz2
glibc-2ac0e3da17cd40ffaa962be11f408d7d408434c4.zip
(__fxstat64, __lxstat64): Only define if not already defined.
Diffstat (limited to 'include')
-rw-r--r--include/sys/stat.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/sys/stat.h b/include/sys/stat.h
index 9083aebfc2..f24a5b5200 100644
--- a/include/sys/stat.h
+++ b/include/sys/stat.h
@@ -46,9 +46,13 @@ extern __inline__ int __mknod (__const char *__path, __mode_t __mode,
# define __fstat(fd, buf) INTUSE(__fxstat) (_STAT_VER, fd, buf)
# define __fxstat(ver, fd, buf) INTUSE(__fxstat) (ver, fd, buf)
-# define __fxstat64(ver, fd, buf) INTUSE(__fxstat64) (ver, fd, buf)
+# ifndef __fxstat64
+# define __fxstat64(ver, fd, buf) INTUSE(__fxstat64) (ver, fd, buf)
+# endif
# define __lxstat(ver, name, buf) INTUSE(__lxstat) (ver, name, buf)
-# define __lxstat64(ver, name, buf) INTUSE(__lxstat64) (ver, name, buf)
+# ifndef __lxstat64
+# define __lxstat64(ver, name, buf) INTUSE(__lxstat64) (ver, name, buf)
+# endif
#else
# define fstat64(fd, buf) __fxstat64 (_STAT_VER, fd, buf)
# define fstat(fd, buf) __fxstat (_STAT_VER, fd, buf)