Changeset 1313 in svn for trunk/xcache/xc_utils.h


Ignore:
Timestamp:
2013-07-15T02:30:59Z (2 years ago)
Author:
Xuefer
Message:

ZEND_STRS ZEND_STRL is inconsist between PHP5.0- and PHP5.0+

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache/xc_utils.h

    r1281 r1313  
    11#include "xcache.h"
    22#include "xc_compatibility.h"
     3
     4#define XCACHE_STRS(str) (str), sizeof(str)
     5#define XCACHE_STRL(str) (str), (sizeof(str) - 1)
    36
    47typedef zend_op_array *(zend_compile_file_t)(zend_file_handle *h, int type TSRMLS_DC);
Note: See TracChangeset for help on using the changeset viewer.