diff options
author | Jakub Jelinek <jakub@redhat.com> | 2008-06-11 08:27:04 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2008-06-11 08:27:04 +0200 |
commit | 976e44e324f254780ea9b09347ea0e970e40691c (patch) | |
tree | 84cdb8434984529cb5d2724af92ab328c4cbae93 /libgomp/env.c | |
parent | a1968bf9f3d483a353b49cb82511067110930b09 (diff) | |
download | gcc-976e44e324f254780ea9b09347ea0e970e40691c.zip gcc-976e44e324f254780ea9b09347ea0e970e40691c.tar.gz gcc-976e44e324f254780ea9b09347ea0e970e40691c.tar.bz2 |
re PR libgomp/36469 (bootstrap broken on HPUX PA)
PR libgomp/36469
* configure.ac: Add AC_CHECK_FUNCS (strtoull).
* configure: Regenerated.
* config.h.in: Regenerated.
* env.c (strtoull): Define to strtoul if HAVE_STRTOULL is not
defined.
From-SVN: r136650
Diffstat (limited to 'libgomp/env.c')
-rw-r--r-- | libgomp/env.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libgomp/env.c b/libgomp/env.c index 022fb1b..50872c2 100644 --- a/libgomp/env.c +++ b/libgomp/env.c @@ -47,6 +47,9 @@ #include <limits.h> #include <errno.h> +#ifndef HAVE_STRTOULL +# define strtoull(ptr, eptr, base) strtoul (ptr, eptr, base) +#endif struct gomp_task_icv gomp_global_icv = { .nthreads_var = 1, |