try to workaround problems with non-c99 on HPUX

This commit is contained in:
Andrey Hristov 2010-05-31 16:51:03 +00:00
parent c0a8ce2f61
commit cf140b3bf7

View File

@ -38,6 +38,12 @@ This file is public domain and comes with NO WARRANTY of any kind */
# include <ext/mysqlnd/php_mysqlnd_config.h>
#endif /* _WIN32... */
#if __STDC_VERSION__ < 199901L && !defined(atoll)
/* "inline" is a keyword */
#define atoll atol
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif