diff options
author | Nicholas Clark <nick@ccl4.org> | 2000-12-14 18:38:57 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-12-15 02:49:42 +0000 |
commit | d0e6d399d7d5c2c9072a29da40b2cf4e9246353f (patch) | |
tree | e1fff34110b68ccc3b66a30e5e44a62023106706 /configure.com | |
parent | 16b7a9a47be196cb33bf757faad24e73ceffc2fc (diff) | |
download | perl-d0e6d399d7d5c2c9072a29da40b2cf4e9246353f.tar.gz |
strtoq, strtou(q|ll|l) testing (was [PATCH] faster and 64 bit preserving arithmetic)
Message-ID: <20001214183857.B97909@plum.flirble.org>
p4raw-id: //depot/perl@8120
Diffstat (limited to 'configure.com')
-rw-r--r-- | configure.com | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/configure.com b/configure.com index 5b8ccbc302..13b0d17af4 100644 --- a/configure.com +++ b/configure.com @@ -3596,6 +3596,24 @@ $ tmp = "strtoll" $ GOSUB inlibc $ d_strtoll = tmp $! +$! Check for strtoq +$! +$ OS +$ WS "#if defined(__DECC) || defined(__DECCXX)" +$ WS "#include <stdlib.h>" +$ WS "#endif" +$ WS "#include <string.h>" +$ WS "int main()" +$ WS "{" +$ WS "__int64 result;" +$ WS "result = strtoq(""123123"", NULL, 10);" +$ WS "exit(0);" +$ WS "}" +$ CS +$ tmp = "strtoq" +$ GOSUB inlibc +$ d_strtoq = tmp +$! $! Check for strtold $! $ OS @@ -5004,6 +5022,7 @@ $ WC "d_strtod='define'" $ WC "d_strtol='define'" $ WC "d_strtold='" + d_strtold + "'" $ WC "d_strtoll='" + d_strtoll + "'" +$ WC "d_strtoq='define'" $ WC "d_strtoul='define'" $ WC "d_strtoull='" + d_strtoull + "'" $ WC "d_strtouq='" + d_strtouq + "'" |