summaryrefslogtreecommitdiff
path: root/ext/pdo_firebird
diff options
context:
space:
mode:
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