]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
[__USE_XOPEN]: Define ino_t and ino64_t.
authorUlrich Drepper <drepper@redhat.com>
Wed, 23 Feb 2000 05:39:49 +0000 (05:39 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 23 Feb 2000 05:39:49 +0000 (05:39 +0000)
dirent/dirent.h

index 030ff7f1c5c9a756a1e38b6a80befb37fe3a9d9c..519373a559cb761babf8be7551713e5bb4c0a859 100644 (file)
@@ -29,6 +29,21 @@ __BEGIN_DECLS
 
 #include <bits/types.h>
 
+#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'