HP-UX does not have strtoull

Submitted by: Jan Kneschke <jan.kneschke@mysql.com>
This commit is contained in:
Doug MacEachern 2007-05-10 15:25:14 +00:00
parent 994642cd26
commit a3410ce4d4
1 changed files with 5 additions and 2 deletions

View File

@ -26,8 +26,11 @@
#include "pcre.h" #include "pcre.h"
#endif #endif
#ifdef WIN32 /* See http://gcc.gnu.org/ml/libstdc++/2002-03/msg00164.html */
#define strtoull strtoul /*XXX*/ #if defined(WIN32) || (defined(__hpux) && defined(SIGAR_64BIT))
#define strtoull strtoul
#elif (defined(__hpux) && !defined(SIGAR_64BIT))
#define strtoull __strtoull
#else #else
#include <errno.h> #include <errno.h>
#endif #endif