Changeset 485 for trunk/xcache.h


Ignore:
Timestamp:
2007-12-28T11:16:12+01:00 (7 years ago)
Author:
moo
Message:

5.3 support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache.h

    r480 r485  
    1010#include <zend_compile.h> 
    1111#include <zend_API.h> 
     12#include <zend.h> 
    1213#include "php_ini.h" 
    1314#include "zend_hash.h" 
     
    3637#else 
    3738#   define ZESW(v1, v2) v2 
     39#endif 
     40 
     41#ifdef ALLOCA_FLAG 
     42#   define my_do_alloca(size, use_heap) do_alloca(size, use_heap) 
     43#   define my_free_alloca(size, use_heap) free_alloca(size, use_heap) 
     44#else 
     45#   define my_do_alloca(size, use_heap) do_alloca(size) 
     46#   define my_free_alloca(size, use_heap) free_alloca(size) 
     47#   define ALLOCA_FLAG(x) 
     48#endif 
     49#ifndef Z_SET_ISREF 
     50#   define Z_SET_ISREF(z) (z).is_ref = 1; 
     51#endif 
     52#ifndef Z_UNSET_ISREF 
     53#   define Z_UNSET_ISREF(z) (z).is_ref = 0; 
     54#endif 
     55#ifndef Z_SET_REFCOUNT 
     56#   define Z_SET_REFCOUNT(z, rc) (z).refcount = rc; 
    3857#endif 
    3958 
Note: See TracChangeset for help on using the changeset viewer.