Changeset 1281 for trunk/xcache.c


Ignore:
Timestamp:
2013-07-08T10:00:36+02:00 (15 months ago)
Author:
moo
Message:

remove php 4 support completely

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache.c

    r1278 r1281  
    115115/* }}} */ 
    116116/* {{{ PHP_GINIT_FUNCTION(xcache) */ 
    117 #pragma GCC push_options 
    118 #pragma GCC diagnostic ignored "-Wshadow" 
    119  
     117#define xcache_globals xcacheglobals 
    120118#ifdef PHP_GINIT_FUNCTION 
    121119static PHP_GINIT_FUNCTION(xcache) 
    122120#else 
    123 static void xc_init_globals(zend_xcache_globals* xcache_globals TSRMLS_DC) 
    124 #endif 
    125 { 
    126 #pragma GCC pop_options 
    127  
     121static void xc_init_globals(zend_xcache_globals *xcache_globals TSRMLS_DC) 
     122#endif 
     123{ 
    128124    memset(xcache_globals, 0, sizeof(zend_xcache_globals)); 
    129125 
     
    134130    zend_hash_init_ex(&xcache_globals->internal_class_table,    1, NULL, NULL, 1, 0); 
    135131} 
     132#undef xcache_globals 
    136133/* }}} */ 
    137134/* {{{ PHP_GSHUTDOWN_FUNCTION(xcache) */ 
    138135static 
    139136#ifdef PHP_GSHUTDOWN_FUNCTION 
     137#define xcache_globals xcacheglobals 
    140138PHP_GSHUTDOWN_FUNCTION(xcache) 
    141139#else 
     
    171169    } 
    172170} 
     171#undef xcache_globals 
    173172/* }}} */ 
    174173 
     
    887886    PHP_GSHUTDOWN(xcache), 
    888887#endif 
    889 #ifdef ZEND_ENGINE_2 
    890888    NULL /* ZEND_MODULE_POST_ZEND_DEACTIVATE_N */, 
    891 #else 
    892     NULL, 
    893     NULL, 
    894 #endif 
    895889    STANDARD_MODULE_PROPERTIES_EX 
    896890}; 
Note: See TracChangeset for help on using the changeset viewer.