Fix GNU/kFreeBSD port
Check for __FreeBSD_kernel instead of __GLIBC__ in source files. note from William Hubbs: I was told this is a better check for GNU/kFreeBSD than checking the C library the source is being compiled against. GNU/kFreeBSD than checking which library we are using.
This commit is contained in:
committed by
William Hubbs
parent
86e9aa0d36
commit
3f82edbeb9
@@ -30,7 +30,7 @@
|
||||
|
||||
#include "librc.h"
|
||||
|
||||
#if defined(__linux__) || defined (__GLIBC__)
|
||||
#if defined(__linux__) || defined (__FreeBSD_kernel__)
|
||||
static bool
|
||||
pid_is_exec(pid_t pid, const char *exec)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user