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.
 
 
 
 
 
 

21 lines
298 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
#ifdef LIGHTY_OS_LINUX
#include <sched.h>
#endif
#endif