Browse Source

removed zend_append_version_info. not needed after [282]

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@283 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
1.2
Xuefer 15 years ago
parent
commit
60e8edb29f
  1. 7
      xcache.c

7
xcache.c

@ -2363,19 +2363,12 @@ static void xc_zend_extension_register(zend_extension *new_extension, DL_HANDLE
#endif
}
/* dirty check */
#if defined(COMPILE_DL_XCACHE) && (defined(ZEND_WIN32) || defined(__CYGWIN__) || defined(__MINGW32__))
# define zend_append_version_info(x) do { } while (0)
#else
extern void zend_append_version_info(zend_extension *extension);
#endif
static int xc_zend_extension_startup(zend_extension *extension)
{
if (extension->startup) {
if (extension->startup(extension) != SUCCESS) {
return FAILURE;
}
zend_append_version_info(extension);
}
return SUCCESS;
}

Loading…
Cancel
Save