We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29a1d56 commit bdb2d71Copy full SHA for bdb2d71
ext/mysqlnd/mysqlnd_portability.h
@@ -12,6 +12,8 @@ This file is public domain and comes with NO WARRANTY of any kind */
12
#ifndef MYSQLND_PORTABILITY_H
13
#define MYSQLND_PORTABILITY_H
14
15
+
16
17
/* Comes from global.h as OFFSET, renamed to STRUCT_OFFSET */
18
#define STRUCT_OFFSET(t, f) ((size_t)(char *)&((t *)0)->f)
19
@@ -38,6 +40,12 @@ This file is public domain and comes with NO WARRANTY of any kind */
38
40
# include <ext/mysqlnd/php_mysqlnd_config.h>
39
41
#endif /* _WIN32... */
42
43
+#if __STDC_VERSION__ < 199901L && !defined(atoll)
44
+ /* "inline" is a keyword */
45
+ #define atoll atol
46
+#endif
47
48
49
#ifdef HAVE_SYS_TYPES_H
50
#include <sys/types.h>
51
#endif
0 commit comments