Fix Windows ZTS build.
This commit is contained in:
parent
50219ce708
commit
9dace534af
|
@ -4,10 +4,6 @@
|
||||||
// @Author CismonX
|
// @Author CismonX
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include "config.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "php_collections.h"
|
#include "php_collections.h"
|
||||||
|
|
||||||
#include <zend_interfaces.h>
|
#include <zend_interfaces.h>
|
||||||
|
@ -29,6 +25,10 @@ zend_class_entry* collections_pair_ce;
|
||||||
|
|
||||||
ZEND_DECLARE_MODULE_GLOBALS(collections)
|
ZEND_DECLARE_MODULE_GLOBALS(collections)
|
||||||
|
|
||||||
|
#ifdef ZTS
|
||||||
|
ZEND_TSRMLS_CACHE_DEFINE()
|
||||||
|
#endif
|
||||||
|
|
||||||
static zend_always_inline void collection_ce_init()
|
static zend_always_inline void collection_ce_init()
|
||||||
{
|
{
|
||||||
COLLECTIONS_CE_INIT(collection, "Collection");
|
COLLECTIONS_CE_INIT(collection, "Collection");
|
||||||
|
|
|
@ -7,6 +7,10 @@
|
||||||
#ifndef PHP_COLLECTIONS_H
|
#ifndef PHP_COLLECTIONS_H
|
||||||
#define PHP_COLLECTIONS_H
|
#define PHP_COLLECTIONS_H
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <php.h>
|
#include <php.h>
|
||||||
|
|
||||||
extern zend_module_entry collections_module_entry;
|
extern zend_module_entry collections_module_entry;
|
||||||
|
|
Reference in New Issue