diff options
author | Anatol Belski <ab@php.net> | 2015-03-23 20:54:55 +0100 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2015-03-23 20:54:55 +0100 |
commit | 19360f386ec3e78f7f57f9e943569410dc2f718f (patch) | |
tree | 66a8740389d7e9e161de12088f7fa36c96ea80b8 /ext/odbc | |
parent | 2d78023244eaa5ec60b1325e530150394d625fa8 (diff) | |
download | php-git-19360f386ec3e78f7f57f9e943569410dc2f718f.tar.gz |
cleanup mod version macros, round 3
Diffstat (limited to 'ext/odbc')
-rw-r--r-- | ext/odbc/birdstep.c | 2 | ||||
-rw-r--r-- | ext/odbc/php_birdstep.h | 3 | ||||
-rw-r--r-- | ext/odbc/php_odbc.c | 2 | ||||
-rw-r--r-- | ext/odbc/php_odbc.h | 3 |
4 files changed, 8 insertions, 2 deletions
diff --git a/ext/odbc/birdstep.c b/ext/odbc/birdstep.c index 54ae0e76e2..a1c8ffa7f8 100644 --- a/ext/odbc/birdstep.c +++ b/ext/odbc/birdstep.c @@ -148,7 +148,7 @@ zend_module_entry birdstep_module_entry = { PHP_RINIT(birdstep), NULL, PHP_MINFO(birdstep), - NO_VERSION_YET, + PHP_BIRDSTEP_VERSION, STANDARD_MODULE_PROPERTIES }; diff --git a/ext/odbc/php_birdstep.h b/ext/odbc/php_birdstep.h index abf0b716c3..9a8502cbf2 100644 --- a/ext/odbc/php_birdstep.h +++ b/ext/odbc/php_birdstep.h @@ -26,6 +26,9 @@ #include <sql.h> #include <sqlext.h> +#include "php_version.h" +#define PHP_BIRDSTEP_VERSION PHP_VERSION + typedef struct VConn { HDBC hdbc; zend_long index; diff --git a/ext/odbc/php_odbc.c b/ext/odbc/php_odbc.c index 8d594c11e7..1f14ee23c7 100644 --- a/ext/odbc/php_odbc.c +++ b/ext/odbc/php_odbc.c @@ -401,7 +401,7 @@ zend_module_entry odbc_module_entry = { PHP_RINIT(odbc), PHP_RSHUTDOWN(odbc), PHP_MINFO(odbc), - "1.0", + PHP_ODBC_VERSION, PHP_MODULE_GLOBALS(odbc), PHP_GINIT(odbc), NULL, diff --git a/ext/odbc/php_odbc.h b/ext/odbc/php_odbc.h index 8e43d298b0..857397b467 100644 --- a/ext/odbc/php_odbc.h +++ b/ext/odbc/php_odbc.h @@ -32,6 +32,9 @@ extern zend_module_entry odbc_module_entry; #define odbc_module_ptr &odbc_module_entry +#include "php_version.h" +#define PHP_ODBC_VERSION PHP_VERSION + #if defined(HAVE_DBMAKER) || defined(PHP_WIN32) || defined(HAVE_IBMDB2) || defined(HAVE_UNIXODBC) || defined(HAVE_BIRDSTEP) || defined(HAVE_IODBC) # define PHP_ODBC_HAVE_FETCH_HASH 1 #endif |