Skip to content

Commit a7e11fb

Browse files
committed
cleanup the mod version macros, round 2
1 parent db1b4a1 commit a7e11fb

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

interbase.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ zend_module_entry ibase_module_entry = {
451451
NULL,
452452
PHP_RSHUTDOWN(ibase),
453453
PHP_MINFO(ibase),
454-
NO_VERSION_YET,
454+
PHP_INTERBASE_VERSION,
455455
PHP_MODULE_GLOBALS(ibase),
456456
PHP_GINIT(ibase),
457457
NULL,

php_interbase.h

+3
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@
2424
extern zend_module_entry ibase_module_entry;
2525
#define phpext_interbase_ptr &ibase_module_entry
2626

27+
#include "php_version.h"
28+
#define PHP_INTERBASE_VERSION PHP_VERSION
29+
2730
PHP_MINIT_FUNCTION(ibase);
2831
PHP_RINIT_FUNCTION(ibase);
2932
PHP_MSHUTDOWN_FUNCTION(ibase);

0 commit comments

Comments
 (0)