Changeset e8600bb8 in git


Ignore:
Timestamp:
2012-12-06T11:47:52Z (7 years ago)
Author:
Xuefer <xuefer@…>
Branches:
3.0, 3.1, 3.2, master, trunk
Children:
278cdbc
Parents:
ad6cbbe
Message:

use correct header for getpid()

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1186 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • mod_cacher/xc_cacher.c

    rd74e438 re8600bb8  
    2525#include "ext/standard/md5.h"
    2626#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>
    2831#endif
    2932#include "ext/standard/php_math.h"
     
    34683471        xc_initized = 1;
    34693472        xc_init_time = time(NULL);
    3470 #ifdef PHP_WIN32
    3471         xc_init_instance_id = GetCurrentProcessId();
    3472 #else
    34733473        xc_init_instance_id = getpid();
    3474 #endif
    34753474#ifdef ZTS
    34763475        xc_init_instance_subid = tsrm_thread_id();
  • xcache/xc_lock.c

    r5dea18c re8600bb8  
    44#include <string.h>
    55#include <stdlib.h>
     6#ifdef ZEND_WIN32
     7#   include <process.h>
     8#endif
    69
    710#ifndef ZEND_WIN32
Note: See TracChangeset for help on using the changeset viewer.