From cf140b3bf7d2447e694f66bb8f42d27377dc0d27 Mon Sep 17 00:00:00 2001 From: Andrey Hristov Date: Mon, 31 May 2010 16:51:03 +0000 Subject: try to workaround problems with non-c99 on HPUX --- ext/mysqlnd/mysqlnd_portability.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ext/mysqlnd/mysqlnd_portability.h') diff --git a/ext/mysqlnd/mysqlnd_portability.h b/ext/mysqlnd/mysqlnd_portability.h index ed0a5c8b14..532c719594 100644 --- a/ext/mysqlnd/mysqlnd_portability.h +++ b/ext/mysqlnd/mysqlnd_portability.h @@ -38,6 +38,12 @@ This file is public domain and comes with NO WARRANTY of any kind */ # include #endif /* _WIN32... */ +#if __STDC_VERSION__ < 199901L && !defined(atoll) + /* "inline" is a keyword */ + #define atoll atol +#endif + + #ifdef HAVE_SYS_TYPES_H #include #endif -- cgit v1.2.1