Skip to content

Commit

Permalink
Fix ZTS support
Browse files Browse the repository at this point in the history
  • Loading branch information
Whissi committed Oct 6, 2016
1 parent 0a507a6 commit 2d9d92e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 5 additions & 5 deletions realpath_turbo.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@ static zend_function_entry realpath_turbo_functions[] = {
};

zend_module_entry realpath_turbo_module_entry = {
#if ZEND_MODULE_API_NO >= 20010901
STANDARD_MODULE_HEADER,
#endif
REALPATH_TURBO_EXTNAME,
realpath_turbo_functions,
PHP_MINIT(realpath_turbo),
PHP_MSHUTDOWN(realpath_turbo),
PHP_RINIT(realpath_turbo),
NULL,
PHP_MINFO(realpath_turbo),
#if ZEND_MODULE_API_NO >= 20010901
REALPATH_TURBO_VERSION,
#endif
STANDARD_MODULE_PROPERTIES
PHP_MODULE_GLOBALS(realpath_turbo),
NULL,
NULL,
NULL,
STANDARD_MODULE_PROPERTIES_EX
};

ZEND_DECLARE_MODULE_GLOBALS(realpath_turbo)
Expand Down
2 changes: 2 additions & 0 deletions realpath_turbo_private.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,6 @@ PHP_MSHUTDOWN_FUNCTION(realpath_turbo);
#define MEMC_G(v) (realpath_turbo_globals.v)
#endif

extern ZEND_DECLARE_MODULE_GLOBALS(realpath_turbo);

#endif /* REALPATH_TURBO_PRIVATE_H */

0 comments on commit 2d9d92e

Please sign in to comment.