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 headers: #elif -> #elif defined
[lttng-tools.git]
/
src
/
common
/
compat
/
clone.h
diff --git
a/src/common/compat/clone.h
b/src/common/compat/clone.h
index 08aa10dcd199a0431845bc0a279fc9b4b30896f8..6685c6f6e9ed084ac5817beb5abe4c4f635a0e9f 100644
(file)
--- a/
src/common/compat/clone.h
+++ b/
src/common/compat/clone.h
@@
-28,7
+28,7
@@
int lttng_clone_files(int (*fn)(void *), void *child_stack, void *arg)
return clone(fn, child_stack, CLONE_FILES | SIGCHLD, arg);
}
return clone(fn, child_stack, CLONE_FILES | SIGCHLD, arg);
}
-#elif
__FreeBSD__
+#elif
defined(__FreeBSD__)
#include <unistd.h>
#include <unistd.h>
@@
-39,7
+39,7
@@
int lttng_clone_files(int (*fn)(void *), void *child_stack, void *arg)
}
#else
}
#else
-#error "Please add support for your OS
into compat/clone.h
."
+#error "Please add support for your OS."
#endif /* __linux__ , __FreeBSD__ */
#endif /* _COMPAT_CLONE_H */
#endif /* __linux__ , __FreeBSD__ */
#endif /* _COMPAT_CLONE_H */
This page took
0.024246 seconds
and
4
git commands to generate.