mirror of
https://github.com/php/php-src.git
synced 2026-04-28 18:53:33 +02:00
- Fix build
This commit is contained in:
+5
-1
@@ -425,7 +425,11 @@ static void php_zval_filter_recursive(zval *value, long filter, long flags, zval
|
||||
static zval * php_filter_get_storage(long arg TSRMLS_DC) /* {{{ */
|
||||
{
|
||||
zval * array_ptr = NULL;
|
||||
zend_bool jit_initialization = (PG(auto_globals_jit) && !PG(register_globals) && !PG(register_long_arrays));
|
||||
zend_bool jit_initialization = (PG(auto_globals_jit)
|
||||
#if PHP_MAJOR_VERSION < 6
|
||||
&& !PG(register_globals) && !PG(register_long_arrays)
|
||||
#endif
|
||||
);
|
||||
switch (arg) {
|
||||
case PARSE_GET:
|
||||
array_ptr = IF_G(get_array);
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
#ifndef PHP_FILTER_H
|
||||
#define PHP_FILTER_H
|
||||
|
||||
#include "SAPI.h"
|
||||
#include "zend_API.h"
|
||||
#include "php.h"
|
||||
#include "php_ini.h"
|
||||
#include "ext/standard/info.h"
|
||||
#include "ext/standard/php_string.h"
|
||||
#include "php_variables.h"
|
||||
#include "SAPI.h"
|
||||
#include "zend_API.h"
|
||||
|
||||
extern zend_module_entry filter_module_entry;
|
||||
#define phpext_filter_ptr &filter_module_entry
|
||||
|
||||
Reference in New Issue
Block a user