diff options
author | Azat Khuzhin <a3at.mail@gmail.com> | 2017-03-06 00:05:50 +0300 |
---|---|---|
committer | Azat Khuzhin <a3at.mail@gmail.com> | 2017-03-08 13:31:55 +0300 |
commit | 66a4eb0c3ae3b1f22b084b2d3aeb5c872f37efbd (patch) | |
tree | fcf98c99076366fd494261cc1420bd6417a01298 /event-config.h.cmake | |
parent | b2b4b4d74e78a3e4fe7a74224d1e6aada5bde351 (diff) | |
download | libevent-66a4eb0c3ae3b1f22b084b2d3aeb5c872f37efbd.tar.gz |
Check for WNOWAIT in waitpid() in runtime (not in cmake/configure)
Because checking in cmake breaks cross-compiling.
Introduced-in: 43eb56c7c738e3642f0981e3dd6ab9e082eec798.
Fixes: #482
Fixes: #462
Refs: #475
v2: use waitid() with WNOWAIT
v3: use WNOWAIT only if it available in waitpid(), because not all netbsd
supports it
Diffstat (limited to 'event-config.h.cmake')
-rw-r--r-- | event-config.h.cmake | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/event-config.h.cmake b/event-config.h.cmake index 51ed1a18..65a0f5dd 100644 --- a/event-config.h.cmake +++ b/event-config.h.cmake @@ -526,7 +526,4 @@ #cmakedefine EVENT__NEED_DLLIMPORT 1 -/* Define if waitpid() supports WNOWAIT */ -#cmakedefine EVENT__HAVE_WAITPID_WITH_WNOWAIT 1 - -#endif +#endif /* \EVENT2_EVENT_CONFIG_H_INCLUDED_ */ |