Fix: syscall-compat.h MacOSX support
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 22 Jun 2016 15:34:26 +0000 (11:34 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 22 Jun 2016 15:34:26 +0000 (11:34 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
urcu/syscall-compat.h

index d603db21d146bb01254efb83848381c9e6e4f1ff..fa63a7bbee8eda960dfaf4d1709ca0595189ccc2 100644 (file)
@@ -32,8 +32,8 @@
 #elif defined(__linux__) || defined(__GLIBC__)
 #include <syscall.h>
 
 #elif defined(__linux__) || defined(__GLIBC__)
 #include <syscall.h>
 
-#elif defined(__CYGWIN__)
-/* Don't include anything on Cygwin. */
+#elif defined(__CYGWIN__) || defined(__APPLE__)
+/* Don't include anything on Cygwin or MacOSX. */
 
 #else
 #error "Add platform support to urcu/syscall-compat.h"
 
 #else
 #error "Add platform support to urcu/syscall-compat.h"
This page took 0.025261 seconds and 4 git commands to generate.