Show
Ignore:
Timestamp:
05/03/05 18:18:43 (4 years ago)
Author:
zoeloelip
Message:

This should be the right conditional includes, depending on the session api

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • eaccelerator/trunk/session.h

    r64 r72  
    4141#       endif 
    4242#else // no session support in php, undef eA session support 
    43 #       if defined(WITH_EACCELERATOR_SESSIONS) 
    44 #               undef WITH_EACCELERATOR_SESSIONS 
    45 #       endif 
     43#       undef WITH_EACCELERATOR_SESSIONS 
    4644#endif 
    4745 
    48 #ifdef HAVE_PHP_SESSIONS_SUPPORT 
     46#ifdef WITH_EACCELERATOR_SESSIONS 
    4947 
    5048int eaccelerator_set_session_handlers(); 
     
    5250void eaccelerator_register_session(); 
    5351 
     52#ifdef HAVE_PHP_SESSIONS_SUPPORT 
    5453PHP_FUNCTION(_eaccelerator_session_open); 
    5554PHP_FUNCTION(_eaccelerator_session_close); 
     
    5857PHP_FUNCTION(_eaccelerator_session_destroy); 
    5958PHP_FUNCTION(_eaccelerator_session_gc); 
     59#endif 
    6060PHP_FUNCTION(eaccelerator_set_session_handlers); 
    6161PHP_INI_MH(eaccelerator_OnUpdateSessionCachePlace);