Changeset 978 for trunk/xcache.c


Ignore:
Timestamp:
2012-07-16T10:11:39+02:00 (3 years ago)
Author:
moo
Message:

fix build. additional_functions requires PHP 5.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache.c

    r976 r978  
    38713871    REGISTER_INI_ENTRIES();
    38723872
     3873    /* additional_functions requires PHP 5.3. TODO: find simpler way to do it */
     3874#ifdef ZEND_ENGINE_2_3
    38733875    if (strcmp(sapi_module.name, "cgi-fcgi") == 0 && !sapi_module.additional_functions && !getenv("XCACHE_SKIP_FCGI_WARNING") && !getenv("GATEWAY_INTERFACE")) {
    38743876        if ((getenv("PHP_FCGI_CHILDREN") == NULL) || (atoi(getenv("PHP_FCGI_CHILDREN")) < 1)) {
     
    38763878        }
    38773879    }
     3880#endif
    38783881
    38793882    xc_config_long(&xc_php_size,       "xcache.size",        "0");
Note: See TracChangeset for help on using the changeset viewer.