From 8353b5f6fdb09ef1195b73cc82e8ed6aa46fc284 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 18 Aug 1999 19:12:32 +0000 Subject: [PATCH] Update. * dirent/dirent.h: Only define ino64_t if not already done. * posix/sys/types.h: Likewise. --- ChangeLog | 3 +++ dirent/dirent.h | 3 ++- posix/sys/types.h | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6418ae1b01..64214d513d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 1999-08-18 Ulrich Drepper + * dirent/dirent.h: Only define ino64_t if not already done. + * posix/sys/types.h: Likewise. + * ctype/ctype.h: Avoid useless #endif #if pairs. * dirent/dirent.h: Define ino_t and ino64_t if not done already. diff --git a/dirent/dirent.h b/dirent/dirent.h index 7154b52c85..f64c7fcfa5 100644 --- a/dirent/dirent.h +++ b/dirent/dirent.h @@ -38,8 +38,9 @@ typedef __ino64_t ino_t; # endif # define __ino_t_defined # endif -# ifdef __USE_LARGEFILE64 +# if defined __USE_LARGEFILE64 && !defined __ino64_t_defined typedef __ino64_t ino64_t; +# define __ino64_t_defined # endif #endif diff --git a/posix/sys/types.h b/posix/sys/types.h index 37c1cb16c8..a01cd25507 100644 --- a/posix/sys/types.h +++ b/posix/sys/types.h @@ -49,8 +49,9 @@ typedef __ino64_t ino_t; # endif # define __ino_t_defined #endif -#ifdef __USE_LARGEFILE64 +#if defined __USE_LARGEFILE64 && !defined __ino64_t_defined typedef __ino64_t ino64_t; +# define __ino64_t_defined #endif #ifndef __dev_t_defined