Only define ino64_t if not already done.
authordrepper <drepper>
Wed, 18 Aug 1999 19:12:08 +0000 (19:12 +0000)
committerdrepper <drepper>
Wed, 18 Aug 1999 19:12:08 +0000 (19:12 +0000)
posix/sys/types.h

index 37c1cb1..a01cd25 100644 (file)
@@ -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