diff options
author | Andreas Jaeger <aj@suse.de> | 2002-06-07 12:34:22 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2002-06-07 12:34:22 +0000 |
commit | 2ac0e3da17cd40ffaa962be11f408d7d408434c4 (patch) | |
tree | 6a0090b5bc9e56bdf8a53c6890c1c97361afef73 | |
parent | 7baf750c21d51ee1489d617967b8256523b90254 (diff) | |
download | glibc-2ac0e3da17cd40ffaa962be11f408d7d408434c4.zip glibc-2ac0e3da17cd40ffaa962be11f408d7d408434c4.tar.gz glibc-2ac0e3da17cd40ffaa962be11f408d7d408434c4.tar.bz2 |
(__fxstat64, __lxstat64): Only define if not already defined.
-rw-r--r-- | include/sys/stat.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/sys/stat.h b/include/sys/stat.h index 9083aeb..f24a5b5 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) |