git.samba.org
/
sharpe
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fe5584
)
tevent: Only build "std_fallback_to_poll" when epoll is around
author
Volker Lendecke
<vl@samba.org>
Fri, 13 Dec 2013 10:59:43 +0000
(11:59 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Fri, 17 Jan 2014 11:38:08 +0000
(12:38 +0100)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
lib/tevent/tevent_standard.c
patch
|
blob
|
history
diff --git
a/lib/tevent/tevent_standard.c
b/lib/tevent/tevent_standard.c
index 785d68d99f6f5fa20cc85dca4a40e1fb103544ae..a050901fa3f5482ddc597d755362b997fc6676c7 100644
(file)
--- a/
lib/tevent/tevent_standard.c
+++ b/
lib/tevent/tevent_standard.c
@@
-54,6
+54,7
@@
static const struct tevent_ops std_event_ops = {
Move us to using poll instead. If we return false here,
caller should abort().
*/
+#ifdef HAVE_EPOLL
static bool std_fallback_to_poll(struct tevent_context *ev, bool replay)
{
void *glue_ptr = talloc_parent(ev->ops);
@@
-100,6
+101,7
@@
static bool std_fallback_to_poll(struct tevent_context *ev, bool replay)
return true;
}
+#endif
static int std_event_loop_once(struct tevent_context *ev, const char *location)
{