Turn on USE_64_BIT_OFFSETS implicitly.
Jarkko Hietaniemi [Fri, 3 Sep 1999 21:17:30 +0000 (21:17 +0000)]
p4raw-id: //depot/cfgperl@4069

perl.h

diff --git a/perl.h b/perl.h
index 613f84f..e16b37e 100644 (file)
--- a/perl.h
+++ b/perl.h
@@ -1406,10 +1406,16 @@ typedef union any ANY;
 #endif
 
 #if defined(USE_64_BIT_FILES) || defined(USE_LARGE_FILES)
-#   define USE_64_BIT_OFFSETS
+#   define USE_64_BIT_OFFSETS /* Explicit */
 #   define USE_64_BIT_STDIO
 #endif
 
+#if LSEEKSIZE == 8 && !defined(USE_64_BIT_OFFSETS)
+#   define USE_64_BIT_OFFSETS /* Implicit */
+#endif
+
+/* Do we need FSEEKSIZE? */
+
 /* I couldn't find any -Ddefine or -flags in IRIX 6.5 that would
  * have done the necessary symbol renaming using cpp. --jhi */
 #ifdef __sgi