From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Alex Xu \(Hello71\) via lttng-dev" Subject: [PATCH v2 1/2] Add FreeBSD, DragonFly to syscall-compat.h Date: Mon, 27 Jan 2020 15:08:29 -0500 Message-ID: <20200127200830.29347-1-alex_y_xu@yahoo.ca> References: <20200127200830.29347-1-alex_y_xu.ref@yahoo.ca> Reply-To: "Alex Xu \(Hello71\)" Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from sonic309-48.consmr.mail.gq1.yahoo.com (sonic309-48.consmr.mail.gq1.yahoo.com [98.137.65.174]) by lists.lttng.org (Postfix) with ESMTPS id 48618J2HK1z1xQD for ; Mon, 27 Jan 2020 15:10:39 -0500 (EST) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lttng-dev-bounces@lists.lttng.org Sender: "lttng-dev" To: lttng-dev@lists.lttng.org List-Id: lttng-dev@lists.lttng.org --- 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 -#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