Ignore:
Timestamp:
2013-07-15T19:37:57+02:00 (12 months ago)
Author:
moo
Message:

add back PHP_4 code for disassembler

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache/xc_compatibility.c

    r1281 r1321  
    22 
    33#ifndef ZEND_ENGINE_2_3 
     4#include "ext/standard/php_string.h" 
     5size_t xc_dirname(char *path, size_t len) /* {{{ */ 
     6{ 
     7#ifdef ZEND_ENGINE_2 
     8    return php_dirname(path, len); 
     9#else 
     10    php_dirname(path, len); 
     11    return strlen(path); 
     12#endif 
     13} 
     14/* }}} */ 
     15 
    416long xc_atol(const char *str, int str_len) /* {{{ */ 
    517{ 
Note: See TracChangeset for help on using the changeset viewer.