17 lines
583 B
Plaintext
17 lines
583 B
Plaintext
$OpenBSD: patch-include_urcu_syscall-compat_h,v 1.1 2018/11/27 12:04:36 jca Exp $
|
|
|
|
Index: include/urcu/syscall-compat.h
|
|
--- include/urcu/syscall-compat.h.orig
|
|
+++ include/urcu/syscall-compat.h
|
|
@@ -32,8 +32,8 @@
|
|
#elif defined(__linux__) || defined(__GLIBC__)
|
|
#include <syscall.h>
|
|
|
|
-#elif defined(__CYGWIN__) || defined(__APPLE__)
|
|
-/* Don't include anything on Cygwin or MacOSX. */
|
|
+#elif defined(__CYGWIN__) || defined(__APPLE__) || defined(__OpenBSD__)
|
|
+/* Don't include anything on Cygwin or MacOSX or OpenBSD. */
|
|
|
|
#else
|
|
#error "Add platform support to urcu/syscall-compat.h"
|