From: Ulrich Drepper Date: Wed, 23 Feb 2000 05:39:49 +0000 (+0000) Subject: [__USE_XOPEN]: Define ino_t and ino64_t. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0fd74c239f81fb9182f144fb9dc67c1a5b0f6838;p=thirdparty%2Fglibc.git [__USE_XOPEN]: Define ino_t and ino64_t. --- diff --git a/dirent/dirent.h b/dirent/dirent.h index 030ff7f1c5c..519373a559c 100644 --- a/dirent/dirent.h +++ b/dirent/dirent.h @@ -29,6 +29,21 @@ __BEGIN_DECLS #include +#ifdef __USE_XOPEN +# ifndef ino_t +# ifndef __USE_FILE_OFFSET64 +typedef __ino_t ino_t; +# else +typedef __ino64_t ino_t; +# endif +# define ino_t ino_t +# endif +# if defined __USE_LARGEFILE64 && !defined ino64_t +typedef __ino64_t ino64_t; +# define ino64_t ino64_t +# endif +#endif + /* This file defines `struct dirent'. It defines the macro `_DIRENT_HAVE_D_NAMLEN' iff there is a `d_namlen'