mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
fixed skeleton to produce the normalized ext version macros
See http://news.php.net/php.pecl.dev/11191 for more info.
This commit is contained in:
parent
960b4e81f3
commit
7a038ccbe6
@ -6,6 +6,8 @@
|
||||
extern zend_module_entry extname_module_entry;
|
||||
#define phpext_extname_ptr &extname_module_entry
|
||||
|
||||
#define PHP_EXTNAME_VERSION "0.1.0" /* Replace with version number for your extension */
|
||||
|
||||
#ifdef PHP_WIN32
|
||||
# define PHP_EXTNAME_API __declspec(dllexport)
|
||||
#elif defined(__GNUC__) && __GNUC__ >= 4
|
||||
|
@ -41,7 +41,7 @@ zend_module_entry extname_module_entry = {
|
||||
PHP_RSHUTDOWN(extname), /* Replace with NULL if there's nothing to do at request end */
|
||||
PHP_MINFO(extname),
|
||||
#if ZEND_MODULE_API_NO >= 20010901
|
||||
"0.1", /* Replace with version number for your extension */
|
||||
PHP_EXTNAME_VERSION,
|
||||
#endif
|
||||
STANDARD_MODULE_PROPERTIES
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user