File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 6
6
extern zend_module_entry extname_module_entry ;
7
7
#define phpext_extname_ptr &extname_module_entry
8
8
9
+ #define PHP_EXTNAME_VERSION "0.1.0" /* Replace with version number for your extension */
10
+
9
11
#ifdef PHP_WIN32
10
12
# define PHP_EXTNAME_API __declspec(dllexport)
11
13
#elif defined(__GNUC__ ) && __GNUC__ >= 4
Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ zend_module_entry extname_module_entry = {
142
142
PHP_RINIT (extname ), /* Replace with NULL if there's nothing to do at request start */
143
143
PHP_RSHUTDOWN (extname ), /* Replace with NULL if there's nothing to do at request end */
144
144
PHP_MINFO (extname ),
145
- "0.1" , /* Replace with version number for your extension */
145
+ PHP_EXTNAME_VERSION ,
146
146
STANDARD_MODULE_PROPERTIES
147
147
};
148
148
/* }}} */
You can’t perform that action at this time.
0 commit comments