mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
loopback_internal: enable compile if eventfd header is not present on system
This commit is contained in:
parent
7d8aa793aa
commit
d3b1da4957
1 changed files with 4 additions and 1 deletions
|
@ -50,8 +50,11 @@ int loopback_internal_prepare(struct vnode *n)
|
|||
ret = signal_list_copy(&n->in.signals, &l->source->in.signals);
|
||||
if (ret)
|
||||
return -1;
|
||||
|
||||
#ifdef HAS_EVENTFD
|
||||
return queue_signalled_init(&l->queue, l->queuelen, memory_default, QueueSignalledMode::EVENTFD);
|
||||
#else
|
||||
return queue_signalled_init(&l->queue, l->queuelen, memory_default, QueueSignalledMode::AUTO);
|
||||
#endif
|
||||
}
|
||||
|
||||
int loopback_internal_destroy(struct vnode *n)
|
||||
|
|
Loading…
Add table
Reference in a new issue