Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/librumpuser do as the comment says and #if defined(every...
details: https://anonhg.NetBSD.org/src/rev/ec30e4036135
branches: trunk
changeset: 792567:ec30e4036135
user: pooka <pooka%NetBSD.org@localhost>
date: Wed Jan 08 01:47:31 2014 +0000
description:
do as the comment says and #if defined(every_other) || defined(platform) || ...
===> #if !defined(__NetBSD__)
diffstat:
lib/librumpuser/rumpuser_port.h | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (21 lines):
diff -r d77a1e2aa0ad -r ec30e4036135 lib/librumpuser/rumpuser_port.h
--- a/lib/librumpuser/rumpuser_port.h Wed Jan 08 01:45:29 2014 +0000
+++ b/lib/librumpuser/rumpuser_port.h Wed Jan 08 01:47:31 2014 +0000
@@ -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 @@
#include <sys/types.h>
#include <sys/param.h>
-/* 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 <errno.h>
#include <stdlib.h>
#include <string.h>
Home |
Main Index |
Thread Index |
Old Index