projects
/
m6w6
/
ext-pq
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
better checks for json support
[m6w6/ext-pq]
/
src
/
php_pq_params.c
diff --git
a/src/php_pq_params.c
b/src/php_pq_params.c
index 6ac55af7c14c56f6c03ef48f96a545d0fe375d63..0cc370d36a6654db5261d6edc8602a0deec6eec8 100644
(file)
--- a/
src/php_pq_params.c
+++ b/
src/php_pq_params.c
@@
-17,8
+17,8
@@
#include <php.h>
#include <ext/standard/php_string.h>
#include <ext/standard/php_smart_str.h>
#include <php.h>
#include <ext/standard/php_string.h>
#include <ext/standard/php_smart_str.h>
-#if
def HAVE_JSON
-#include <
ext/json/php_json.h>
+#if
PHP_PQ_HAVE_PHP_JSON_H
+#include <
php_json.h> /* we've added the include directory to INCLUDES */
#endif
#include <Zend/zend_interfaces.h>
#endif
#include <Zend/zend_interfaces.h>