[lttng-dev] [PATCH userspace-rcu 1/2] Port: fix compatibility header for Cygwin

Sebastien Boisvert sboisvert at gydle.com
Thu Jun 2 03:01:37 UTC 2016


Signed-off-by: Sebastien Boisvert <sboisvert at gydle.com>
---
 urcu/syscall-compat.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/urcu/syscall-compat.h b/urcu/syscall-compat.h
index 9b9afec..d603db2 100644
--- a/urcu/syscall-compat.h
+++ b/urcu/syscall-compat.h
@@ -31,6 +31,10 @@
 #include <sys/syscall.h>
 #elif defined(__linux__) || defined(__GLIBC__)
 #include <syscall.h>
+
+#elif defined(__CYGWIN__)
+/* Don't include anything on Cygwin. */
+
 #else
 #error "Add platform support to urcu/syscall-compat.h"
 #endif
-- 
2.8.3


More information about the lttng-dev mailing list