From: "Alex Xu \(Hello71\) via lttng-dev" <lttng-dev@lists.lttng.org>
To: lttng-dev@lists.lttng.org
Subject: [PATCH v2 1/2] Add FreeBSD, DragonFly to syscall-compat.h
Date: Mon, 27 Jan 2020 15:08:29 -0500 [thread overview]
Message-ID: <20200127200830.29347-1-alex_y_xu@yahoo.ca> (raw)
In-Reply-To: 20200127200830.29347-1-alex_y_xu.ref@yahoo.ca
---
include/urcu/syscall-compat.h | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/include/urcu/syscall-compat.h b/include/urcu/syscall-compat.h
index fa63a7b..23b266e 100644
--- a/include/urcu/syscall-compat.h
+++ b/include/urcu/syscall-compat.h
@@ -32,8 +32,9 @@
#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(__FreeBSD__) || defined(__DragonFly__)
+/* Don't include anything on these platforms. */
#else
#error "Add platform support to urcu/syscall-compat.h"
--
2.25.0
next parent reply other threads:[~2020-01-27 20:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20200127200830.29347-1-alex_y_xu.ref@yahoo.ca>
2020-01-27 20:08 ` Alex Xu (Hello71) via lttng-dev [this message]
2020-01-27 20:08 ` [PATCH v2 2/2] Use _umtx_op for futex on FreeBSD Alex Xu (Hello71) via lttng-dev
2020-01-30 18:33 ` [PATCH v2 1/2] Add FreeBSD, DragonFly to syscall-compat.h Mathieu Desnoyers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200127200830.29347-1-alex_y_xu@yahoo.ca \
--to=lttng-dev@lists.lttng.org \
--cc=alex_y_xu@yahoo.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).