Changeset 847 in svn for trunk/utils.h


Ignore:
Timestamp:
2012-03-26T12:46:53+02:00 (3 years ago)
Author:
Xuefer
Message:

fix build for <=PHP_5_2, optimize dirname call

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/utils.h

    r846 r847  
    135135
    136136#ifndef ZEND_ENGINE_2_3
    137 size_t zend_dirname(char *path, size_t len);
    138 long zend_atol(const char *str, int len);
     137size_t xc_dirname(char *path, size_t len);
     138#define zend_dirname xc_dirname
     139long xc_atol(const char *str, int len);
     140#define zend_atol xc_atol
    139141#endif
    140142
Note: See TracChangeset for help on using the changeset viewer.