Changeset 557 for trunk/xcache.c


Ignore:
Timestamp:
2008-05-05T16:00:13+02:00 (6 years ago)
Author:
moo
Message:

fix build for win32

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache.c

    r556 r557  
    2020#include "ext/standard/php_math.h" 
    2121#include "ext/standard/php_string.h" 
     22#include "zend_extensions.h" 
     23#include "SAPI.h" 
     24 
     25#include "xcache.h" 
    2226#ifdef ZEND_ENGINE_2_1 
    2327#include "ext/date/php_date.h" 
    2428#endif 
    25 #include "zend_extensions.h" 
    26 #include "SAPI.h" 
    27  
    28 #include "xcache.h" 
    2929#include "optimizer.h" 
    3030#include "coverager.h" 
     
    30903090        xc_initized = 1; 
    30913091        xc_init_time = time(NULL); 
     3092#ifdef PHP_WIN32 
     3093        xc_init_instance_id = GetCurrentProcessId(); 
     3094#else 
    30923095        xc_init_instance_id = getpid(); 
     3096#endif 
    30933097#ifdef ZTS 
    30943098        xc_init_instance_subid = tsrm_thread_id(); 
Note: See TracChangeset for help on using the changeset viewer.