See http://news.php.net/php.pecl.dev/11191 for more info.
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
PHP_RINIT(extname), /* Replace with NULL if there's nothing to do at request start */
PHP_RSHUTDOWN(extname), /* Replace with NULL if there's nothing to do at request end */
PHP_MINFO(extname),
- "0.1", /* Replace with version number for your extension */
+ PHP_EXTNAME_VERSION,
STANDARD_MODULE_PROPERTIES
};
/* }}} */