summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-03-04 05:42:37 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-03-04 05:42:37 +0000
commitec7b9793cab4fd80f803047b9e81fcd00b48ad79 (patch)
tree455323e0fdc86daa3536ff2a7b104b1829035b36 /perl.h
parent1fb1cd2d392fedba83048ff49802c60d6f30b6f9 (diff)
downloadperl-ec7b9793cab4fd80f803047b9e81fcd00b48ad79.tar.gz
HP-UX 64-bitness cures
p4raw-id: //depot/cfgperl@5511
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/perl.h b/perl.h
index aeaaa45d7d..d9dcbba26f 100644
--- a/perl.h
+++ b/perl.h
@@ -3076,6 +3076,9 @@ typedef struct am_table_short AMTS;
#endif /* !USE_LOCALE_NUMERIC */
#if !defined(Atol) && defined(IV_IS_QUAD) && QUADKIND == QUAD_IS_LONG_LONG
+# ifdef __hpux
+# define strtoll __strtoll /* secret handshake */
+# endif
# if !defined(Atol) && defined(HAS_STRTOLL)
# define Atol(s) strtoll(s, (char**)NULL, 10)
# endif
@@ -3089,6 +3092,9 @@ typedef struct am_table_short AMTS;
#endif
#if !defined(Strtoul) && defined(UV_IS_QUAD) && QUADKIND == QUAD_IS_LONG_LONG
+# ifdef __hpux
+# define strtoull __strtoull /* secret handshake */
+# endif
# if !defined(Strtoul) && defined(HAS_STRTOULL)
# define Strtoul strtoull
# endif