Changeset 1150 in svn


Ignore:
Timestamp:
2012-10-10T14:14:27+02:00 (3 years ago)
Author:
Xuefer
Message:

build with old php

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mod_cacher/xc_cacher.c

    r1146 r1150  
    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.