summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_portability.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mysqlnd/mysqlnd_portability.h')
-rw-r--r--ext/mysqlnd/mysqlnd_portability.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/mysqlnd/mysqlnd_portability.h b/ext/mysqlnd/mysqlnd_portability.h
index ed0a5c8b1..532c71959 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