summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-02-04 19:48:42 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-02-04 19:48:42 +0000
commitc9d6a4becbaa01e7f73bf9ea1ca29ee58987bd0a (patch)
tree028aa54460b769b95d755e1a694cf1c7be156d50
parent305c145b7efddbfc0e71b84eceaf964c3c2d7ab2 (diff)
downloadperl-c9d6a4becbaa01e7f73bf9ea1ca29ee58987bd0a.tar.gz
HP-UX largefileness doesn't like lseek being redeclared;
no more USE_LONG_LONG. p4raw-id: //depot/cfgperl@4994
-rw-r--r--perl.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/perl.h b/perl.h
index afcafbc998..36a7cce62e 100644
--- a/perl.h
+++ b/perl.h
@@ -2042,7 +2042,7 @@ char *crypt (const char*, const char*);
# ifndef getenv
char *getenv (const char*);
# endif /* !getenv */
-#ifndef EPOC
+#if !defined(EPOC) && !(defined(__hpux) && defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS == 64)
Off_t lseek (int,Off_t,int);
#endif
# endif /* !DONT_DECLARE_STD */
@@ -3025,8 +3025,7 @@ typedef struct am_table_short AMTS;
# define Atol atol /* we assume atol being available anywhere */
#endif
-#if !defined(Strtoul) && defined(USE_LONG_LONG) && defined(HAS_LONG_LONG) \
- && defined(HAS_STRTOULL)
+#if !defined(Strtoul) && defined(HAS_LONG_LONG) && defined(HAS_STRTOULL)
# define Strtoul strtoull
#endif
/* is there atouq() anywhere? */