diff options
author | Andy Dougherty <doughera@lafayette.edu> | 2019-08-27 15:00:26 -0400 |
---|---|---|
committer | Andy Dougherty <doughera@lafayette.edu> | 2019-12-29 17:39:32 -0500 |
commit | 7454e5720486ba26c2e118be22fa882782f4a00b (patch) | |
tree | ec2efc07f0d1e07222537d78477d51f490e27dea /Configure | |
parent | 793824db103f6f9040802055098223c7ab840ea4 (diff) | |
download | perl-7454e5720486ba26c2e118be22fa882782f4a00b.tar.gz |
Fix strtoull() probe to run under clang++.
Include the appropriate header and get rid of slightly
incorrect prototype. Change function return type to void
since we don't explicitly return a useful value.
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -19240,14 +19240,14 @@ case "$d_longlong-$d_strtoull" in Checking whether your strtoull() works okay... EOM $cat >try.c <<'EOCP' +#include <stdlib.h> #include <errno.h> #ifdef __hpux #define strtoull __strtoull #endif #include <stdio.h> -extern unsigned long long int strtoull(char *s, char **, int); static int bad = 0; -int check(char *s, long long eull, int een) { +void check(const char *s, long long eull, int een) { long long gull; errno = 0; gull = strtoull(s, 0, 10); |