summaryrefslogtreecommitdiffstats
path: root/php_rpminfo.h
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-01-26 11:14:33 +0100
committerRemi Collet <remi@remirepo.net>2018-01-26 11:14:33 +0100
commitc4521c64e148640fa9ad840e9ea3cb45293204dd (patch)
treef511667363552283ab2c6c8db6a04b92e3a4a014 /php_rpminfo.h
parent2e773e19b01012e45182b725cae71efeb1449415 (diff)
fix segfault in ZTS mode
Diffstat (limited to 'php_rpminfo.h')
-rw-r--r--php_rpminfo.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/php_rpminfo.h b/php_rpminfo.h
index 2caee6b..b87b9f0 100644
--- a/php_rpminfo.h
+++ b/php_rpminfo.h
@@ -40,10 +40,6 @@ ZEND_BEGIN_MODULE_GLOBALS(rpminfo)
rpmts ts;
ZEND_END_MODULE_GLOBALS(rpminfo)
-/* Always refer to the globals in your function as RPMINFO_G(variable).
- You are encouraged to rename these macros something shorter, see
- examples in any other php module directory.
-*/
#define RPMINFO_G(v) ZEND_MODULE_GLOBALS_ACCESSOR(rpminfo, v)
#if defined(ZTS) && defined(COMPILE_DL_RPMINFO)