summaryrefslogtreecommitdiff
path: root/ext/mcrypt/php_mcrypt.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mcrypt/php_mcrypt.h')
-rw-r--r--ext/mcrypt/php_mcrypt.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/ext/mcrypt/php_mcrypt.h b/ext/mcrypt/php_mcrypt.h
index be1196636b..849cd4a646 100644
--- a/ext/mcrypt/php_mcrypt.h
+++ b/ext/mcrypt/php_mcrypt.h
@@ -60,15 +60,11 @@ PHP_FUNCTION(mcrypt_module_get_algo_key_size);
PHP_FUNCTION(mcrypt_module_get_supported_key_sizes);
PHP_FUNCTION(mcrypt_module_close);
-#ifdef ZTS
ZEND_BEGIN_MODULE_GLOBALS(mcrypt)
int le_h;
+ char *modes_dir;
+ char *algorithms_dir;
ZEND_END_MODULE_GLOBALS(mcrypt)
-#else
-typedef struct mcrypt_global_struct {
- int le_h;
-} mcrypt_global_struct;
-#endif
#ifdef ZTS
# define MCLS_D zend_mcrypt_globals *mcrypt_globals