diff options
author | Andrey Hristov <andrey@php.net> | 2010-05-31 16:51:03 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2010-05-31 16:51:03 +0000 |
commit | cf140b3bf7d2447e694f66bb8f42d27377dc0d27 (patch) | |
tree | d66b5114a446aacb83211f3a03e6c82bbbc2a514 /ext/mysqlnd/mysqlnd_portability.h | |
parent | c0a8ce2f611ee8f7a5345c2cf8a615509b1c8643 (diff) | |
download | php-git-cf140b3bf7d2447e694f66bb8f42d27377dc0d27.tar.gz |
try to workaround problems with non-c99 on HPUX
Diffstat (limited to 'ext/mysqlnd/mysqlnd_portability.h')
-rw-r--r-- | ext/mysqlnd/mysqlnd_portability.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 <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 |