mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
Placed conditional block at right position.
This commit is contained in:
parent
e0a02c74f5
commit
e68202e525
1 changed files with 2 additions and 2 deletions
|
@ -50,12 +50,12 @@ int loopback_parse(struct node *n, json_t *cfg)
|
|||
l->queueflags = QUEUE_SIGNALLED_EVENTFD;
|
||||
else if (!strcmp(mode_str, "pthread"))
|
||||
l->queueflags = QUEUE_SIGNALLED_PTHREAD;
|
||||
#ifdef __APPLE__
|
||||
else if (!strcmp(mode_str, "polling"))
|
||||
l->queueflags = QUEUE_SIGNALLED_POLLING;
|
||||
#endif /* __APPLE__ */
|
||||
#ifdef __APPLE__
|
||||
else if (!strcmp(mode_str, "pipe"))
|
||||
l->queueflags = QUEUE_SIGNALLED_PIPE;
|
||||
#endif /* __APPLE__ */
|
||||
else
|
||||
error("Unknown mode '%s' in node %s", mode_str, node_name(n));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue