Standardize macro tests for gnu hurd
This also fixes breakage of GNU/hurd builds introduced by commit 3f82edbeb9.
This commit is contained in:
1 parent
c831f1f994
commit
085d77f17e
4 files changed
+10
-8
No files matched your search
@@ -31,7 +31,8 @@
|
||||
#include "queue.h"
|
||||
#include "librc.h"
|
||||
|
||||
#if defined(__linux__) || (defined (__FreeBSD_kernel__) && defined(__GLIBC__))
|
||||
#if defined(__linux__) || (defined (__FreeBSD_kernel__) && defined(__GLIBC__)) \
|
||||
|| defined(__GNU__)
|
||||
static bool
|
||||
pid_is_exec(pid_t pid, const char *exec)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user