Changeset eae29bc in git


Ignore:
Timestamp:
2012-10-10T12:14:27Z (7 years ago)
Author:
Xuefer <xuefer@…>
Branches:
3.0, 3.1, 3.2, master, trunk
Children:
0d3fc3c
Parents:
88d3992
Message:

build with old php

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mod_cacher/xc_cacher.c

    rd2e943a reae29bc  
    25352535/* }}} */
    25362536typedef struct xc_namebuffer_t_ { /* {{{ */
    2537     ALLOCA_FLAG(useheap);
     2537    ALLOCA_FLAG(useheap)
    25382538    void *buffer;
    25392539    int alloca_size;
     
    25492549    name##_buffer.alloca_size = xc_var_buffer_alloca_size(name TSRMLS_CC); \
    25502550    name##_buffer.buffer = name##_buffer.alloca_size \
    2551         ? do_alloca(name##_buffer.alloca_size, name##_buffer.useheap) \
     2551        ? my_do_alloca(name##_buffer.alloca_size, name##_buffer.useheap) \
    25522552        : UNISW(Z_STRVAL_P(name), Z_TYPE(name) == IS_UNICODE ? Z_USTRVAL_P(name) : Z_STRVAL_P(name)); \
    25532553    if (name##_buffer.alloca_size) xc_var_buffer_init(name##_buffer.buffer, name TSRMLS_CC);
     
    25552555#define VAR_BUFFER_FREE(name) \
    25562556    if (name##_buffer.alloca_size) { \
    2557         free_alloca(name##_buffer.buffer, name##_buffer.useheap); \
     2557        my_free_alloca(name##_buffer.buffer, name##_buffer.useheap); \
    25582558    }
    25592559
Note: See TracChangeset for help on using the changeset viewer.