projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bsd compat: add missing #elif -> #elif defined()
[lttng-tools.git]
/
src
/
common
/
compat
/
poll.h
diff --git
a/src/common/compat/poll.h
b/src/common/compat/poll.h
index ded35410d48dd3d7232608746e46f6d334dd7733..bb046c3427af53f49a76997874a3d43b1808ba37 100644
(file)
--- a/
src/common/compat/poll.h
+++ b/
src/common/compat/poll.h
@@
-182,9
+182,11
@@
enum {
#if __linux__
LPOLLMSG = POLLMSG,
LPOLLRDHUP = POLLRDHUP,
#if __linux__
LPOLLMSG = POLLMSG,
LPOLLRDHUP = POLLRDHUP,
-#elif
__FreeBSD__
+#elif
defined(__FreeBSD__)
LPOLLMSG = 0,
LPOLLRDHUP = 0,
LPOLLMSG = 0,
LPOLLRDHUP = 0,
+#else
+#error "Please add support for your OS."
#endif /* __linux__ */
LPOLLERR = POLLERR,
LPOLLHUP = POLLHUP | POLLNVAL,
#endif /* __linux__ */
LPOLLERR = POLLERR,
LPOLLHUP = POLLHUP | POLLNVAL,
This page took
0.029952 seconds
and
5
git commands to generate.