summaryrefslogtreecommitdiff
path: root/ext/pdo_firebird
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2015-03-23 20:54:55 +0100
committerAnatol Belski <ab@php.net>2015-03-23 20:54:55 +0100
commit19360f386ec3e78f7f57f9e943569410dc2f718f (patch)
tree66a8740389d7e9e161de12088f7fa36c96ea80b8 /ext/pdo_firebird
parent2d78023244eaa5ec60b1325e530150394d625fa8 (diff)
downloadphp-git-19360f386ec3e78f7f57f9e943569410dc2f718f.tar.gz
cleanup mod version macros, round 3
Diffstat (limited to 'ext/pdo_firebird')
-rw-r--r--ext/pdo_firebird/pdo_firebird.c2
-rw-r--r--ext/pdo_firebird/php_pdo_firebird.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/ext/pdo_firebird/pdo_firebird.c b/ext/pdo_firebird/pdo_firebird.c
index 2d4d69d139..4b75e4b6bf 100644
--- a/ext/pdo_firebird/pdo_firebird.c
+++ b/ext/pdo_firebird/pdo_firebird.c
@@ -51,7 +51,7 @@ zend_module_entry pdo_firebird_module_entry = { /* {{{ */
NULL,
NULL,
PHP_MINFO(pdo_firebird),
- "0.3",
+ PHP_PDO_FIREBIRD_VERSION,
STANDARD_MODULE_PROPERTIES
};
/* }}} */
diff --git a/ext/pdo_firebird/php_pdo_firebird.h b/ext/pdo_firebird/php_pdo_firebird.h
index 3939bb90c8..185ff14853 100644
--- a/ext/pdo_firebird/php_pdo_firebird.h
+++ b/ext/pdo_firebird/php_pdo_firebird.h
@@ -22,6 +22,9 @@
extern zend_module_entry pdo_firebird_module_entry;
#define phpext_pdo_firebird_ptr &pdo_firebird_module_entry
+#include "php_version.h"
+#define PHP_PDO_FIREBIRD_VERSION PHP_VERSION
+
#ifdef ZTS
#include "TSRM.h"
#endif