You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
lighttpd2/include/lighttpd/sys-process.h

17 lines
248 B

#ifndef _SYS_PROCESS_H_
#define _SYS_PROCESS_H_
#ifdef _WIN32
#include <process.h>
#define pid_t int
/* win32 has no fork() */
#define kill(x, y) do { } while (0)
#define getpid() 0
#else
#include <sys/wait.h>
#include <unistd.h>
#endif
#endif