Browse Source

Fixed ZTS build of fdf extension.

PHP-5.1
Ilia Alshanetsky 21 years ago
parent
commit
4eccd5df70
  1. 4
      ext/fdf/fdf.c

4
ext/fdf/fdf.c

@ -145,7 +145,7 @@ PHP_MINIT_FUNCTION(fdf)
le_fdf = zend_register_list_destructors_ex(phpi_FDFClose, NULL, "fdf", module_number);
/* add handler for Acrobat FDF form post requests */
sapi_register_post_entry(&php_fdf_post_entry);
sapi_register_post_entry(&php_fdf_post_entry TSRMLS_CC);
/* Constants used by fdf_set_opt() */
@ -215,7 +215,7 @@ PHP_MINFO_FUNCTION(fdf)
PHP_MSHUTDOWN_FUNCTION(fdf)
{
/* remove handler for Acrobat FDF form post requests */
sapi_unregister_post_entry(&php_fdf_post_entry);
sapi_unregister_post_entry(&php_fdf_post_entry TSRMLS_CC);
#ifdef PHP_WIN32
return SUCCESS;

Loading…
Cancel
Save