mirror of
https://github.com/php/php-src.git
synced 2024-10-01 14:56:10 +00:00
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4: fixed skeleton to produce the normalized ext version macros
This commit is contained in:
commit
2c9fc139fe
@ -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