diff options
author | Anatol Belski <ab@php.net> | 2015-03-23 21:30:22 +0100 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2015-03-23 21:30:22 +0100 |
commit | 663074b6b1fa4534fbbb65462aeef40f2c983ad5 (patch) | |
tree | eea8e6fa4c9aa305c12548dfda6d8f36f5c2957f /ext/pgsql | |
parent | 19360f386ec3e78f7f57f9e943569410dc2f718f (diff) | |
download | php-git-663074b6b1fa4534fbbb65462aeef40f2c983ad5.tar.gz |
cleanup mod version macros and mod defs, round x
Diffstat (limited to 'ext/pgsql')
-rw-r--r-- | ext/pgsql/pgsql.c | 2 | ||||
-rw-r--r-- | ext/pgsql/php_pgsql.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c index 6e37f18287..9beb72890f 100644 --- a/ext/pgsql/pgsql.c +++ b/ext/pgsql/pgsql.c @@ -762,7 +762,7 @@ zend_module_entry pgsql_module_entry = { PHP_RINIT(pgsql), PHP_RSHUTDOWN(pgsql), PHP_MINFO(pgsql), - NO_VERSION_YET, + PHP_PGSQL_VERSION, PHP_MODULE_GLOBALS(pgsql), PHP_GINIT(pgsql), NULL, diff --git a/ext/pgsql/php_pgsql.h b/ext/pgsql/php_pgsql.h index 3e5fcbe851..1b31c75b31 100644 --- a/ext/pgsql/php_pgsql.h +++ b/ext/pgsql/php_pgsql.h @@ -29,6 +29,9 @@ extern zend_module_entry pgsql_module_entry; #define pgsql_module_ptr &pgsql_module_entry +#include "php_version.h" +#define PHP_PGSQL_VERSION PHP_VERSION + #ifdef PHP_PGSQL_PRIVATE #undef SOCKET_SIZE_TYPE #include <libpq-fe.h> |