Changeset 1186
- Timestamp:
- 12/06/2012 12:47:52 PM (5 months ago)
- Location:
- trunk
- Files:
-
- 2 modified
-
mod_cacher/xc_cacher.c (modified) (2 diffs)
-
xcache/xc_lock.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/mod_cacher/xc_cacher.c
r1178 r1186 25 25 #include "ext/standard/md5.h" 26 26 #ifdef ZEND_ENGINE_2_1 27 #include "ext/date/php_date.h" 27 # include "ext/date/php_date.h" 28 #endif 29 #ifdef ZEND_WIN32 30 # include <process.h> 28 31 #endif 29 32 #include "ext/standard/php_math.h" … … 3468 3471 xc_initized = 1; 3469 3472 xc_init_time = time(NULL); 3470 #ifdef PHP_WIN323471 xc_init_instance_id = GetCurrentProcessId();3472 #else3473 3473 xc_init_instance_id = getpid(); 3474 #endif3475 3474 #ifdef ZTS 3476 3475 xc_init_instance_subid = tsrm_thread_id(); -
trunk/xcache/xc_lock.c
r1154 r1186 4 4 #include <string.h> 5 5 #include <stdlib.h> 6 #ifdef ZEND_WIN32 7 # include <process.h> 8 #endif 6 9 7 10 #ifndef ZEND_WIN32

