Show
Ignore:
Timestamp:
09/15/06 15:15:06 (2 years ago)
Author:
bart
Message:

Add php 5.2 support. These are minimal changes so they shouldn't affect stability.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • eaccelerator/branches/0.9.5/eaccelerator.h

    r269 r270  
    4444#if PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION >= 1 
    4545#   define ZEND_ENGINE_2_1 
     46#endif 
     47 
     48#if PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION >= 2 
     49#   define ZEND_ENGINE_2_2 
    4650#endif 
    4751 
     
    379383} align_union; 
    380384 
     385#ifdef ZEND_ENGINE_2_2 
     386typedef union _align_test { 
     387  void *ptr; 
     388  double dbl; 
     389  long lng; 
     390} align_test; 
     391#endif 
     392 
    381393/******************************************************************************/ 
    382394