From: Michael Jeanson Date: Tue, 29 Sep 2015 10:37:48 +0000 (-0400) Subject: Port: Add Solaris support to urcu/syscall-compat.h X-Git-Tag: v0.9.0~11 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=b10602e3b14361be848e44953b97c21dff1dc5ae;p=urcu.git Port: Add Solaris support to urcu/syscall-compat.h Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- diff --git a/urcu/syscall-compat.h b/urcu/syscall-compat.h index 55576f0..288cfaf 100644 --- a/urcu/syscall-compat.h +++ b/urcu/syscall-compat.h @@ -27,10 +27,12 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#if defined(__ANDROID__) +#if defined(__ANDROID__) || defined(__sun__) #include #elif defined(__linux__) #include +#else +#error "Add platform support to urcu/syscall-compat.h" #endif #endif /* _URCU_SYSCALL_COMPAT_H */