projects
/
m6w6
/
ext-pq
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
zts and 5.6 fixes
[m6w6/ext-pq]
/
src
/
php_pq_misc.h
diff --git
a/src/php_pq_misc.h
b/src/php_pq_misc.h
index 0ba99a2b8f88c6e362313c1322098d599a9cda0d..919892952e0576d8e7314f1ddc95ad2af13da1e3 100644
(file)
--- a/
src/php_pq_misc.h
+++ b/
src/php_pq_misc.h
@@
-18,6
+18,13
@@
typedef int STATUS; /* SUCCESS/FAILURE */
+/* TSRM morony */
+#if PHP_VERSION_ID >= 50700
+# define z_is_true(z) zend_is_true(z TSRMLS_CC)
+#else
+# define z_is_true zend_is_true
+#endif
+
/* trim LF from EOL */
char *rtrim(char *e);