Changeset 31e5f02 in git for xcache/xc_utils.h


Ignore:
Timestamp:
2013-07-15T02:30:59Z (7 years ago)
Author:
Xuefer <xuefer@…>
Branches:
3.1, 3.2, master, trunk
Children:
63c0a0a
Parents:
c4d23d3
Message:

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

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1313 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xcache/xc_utils.h

    rc7492e6 r31e5f02  
    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.