fix compilation issue

This commit is contained in:
Jim Jagielski 2015-02-11 18:10:16 +00:00
parent 82bd767afa
commit b6f6663639
3 changed files with 19 additions and 5 deletions

View file

@ -1393,7 +1393,7 @@ PHP_FUNCTION(gnupg_import){
result = gpgme_op_import_result (intern->ctx);
if(result->imports->result != GPG_ERR_NO_ERROR){
RETURN_FALSE();
RETURN_FALSE;
}
array_init (return_value);
add_assoc_long (return_value, "imported", result->imported);

View file

@ -16,10 +16,10 @@ http://pear.php.net/dtd/package-2.0.xsd">
<active>yes</active>
</lead>
<date>2015-02-11</date>
<time>10:00:00</time>
<time>11:00:00</time>
<version>
<release>1.3.5</release>
<api>1.3.5</api>
<release>1.3.6</release>
<api>1.3.6</api>
</version>
<stability>
<release>stable</release>
@ -82,6 +82,20 @@ http://pear.php.net/dtd/package-2.0.xsd">
<providesextension>gnupg</providesextension>
<extsrcrelease />
<changelog>
<release>
<version>
<release>1.3.6</release>
<api>1.3.6</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2015-02-11</date>
<license>BSD, revised</license>
<notes>Compilation bug
</notes>
</release>
<release>
<version>
<release>1.3.5</release>

View file

@ -19,7 +19,7 @@
extern zend_module_entry gnupg_module_entry;
#define phpext_gnupg_ptr &gnupg_module_entry
#define PHP_GNUPG_VERSION "1.3.5"
#define PHP_GNUPG_VERSION "1.3.6"
#ifdef PHP_WIN32
#define PHP_GNUPG_API __declspec(dllexport)