1
0
Fork 0
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:
Dennis Potter 2018-10-17 23:57:19 +02:00
parent e0a02c74f5
commit e68202e525

View file

@ -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));
}