From 6459f6aa95e3e6e1a94fb247728ec2058bfb6be3 Mon Sep 17 00:00:00 2001 From: pooka Date: Wed, 8 Jan 2014 01:47:31 +0000 Subject: [PATCH] do as the comment says and #if defined(every_other) || defined(platform) || ... ===> #if !defined(__NetBSD__) --- lib/librumpuser/rumpuser_port.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/librumpuser/rumpuser_port.h b/lib/librumpuser/rumpuser_port.h index bcb79c6ef366..db13972de106 100644 --- a/lib/librumpuser/rumpuser_port.h +++ b/lib/librumpuser/rumpuser_port.h @@ -1,4 +1,4 @@ -/* $NetBSD: rumpuser_port.h,v 1.24 2014/01/08 01:45:29 pooka Exp $ */ +/* $NetBSD: rumpuser_port.h,v 1.25 2014/01/08 01:47:31 pooka Exp $ */ /* * Portability header for non-NetBSD platforms. @@ -92,9 +92,8 @@ clock_gettime(clockid_t clk, struct timespec *ts) #include #include -/* maybe this should be !__NetBSD__ ? */ -#if defined(__linux__) || defined(__sun__) || defined(__FreeBSD__) \ - || defined(__DragonFly__) || defined(__APPLE__) || defined(__OpenBSD__) || defined(__CYGWIN__) +/* NetBSD is the only(?) platform with getenv_r() */ +#if !defined(__NetBSD__) #include #include #include