# | Line 39 | Line 39 | |
---|---|---|
39 | #define MAX_FILE_LENGTH PATH_MAX | |
40 | #endif | |
41 | #ifdef LINUX | |
42 | < | #include <linux/limits.h> |
42 | > | #include <limits.h> |
43 | #define PROC_LOCATION "/proc" | |
44 | #define MAX_FILE_LENGTH PATH_MAX | |
45 | #endif | |
# | Line 160 | Line 160 | process_stat_t *get_process_stats(){ | |
160 | if (kp_stats[procs].kp_proc.p_stat == SSTOP) process_stat.stopped++; | |
161 | #endif | |
162 | } | |
163 | + | #endif |
164 | + | |
165 | + | #ifdef CYGWIN |
166 | + | return NULL; |
167 | #endif | |
168 | ||
169 | process_stat.total=process_stat.sleeping+process_stat.running+process_stat.zombie+process_stat.stopped; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |