Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/librumpuser Minix also has getenv_r support



details:   https://anonhg.NetBSD.org/src/rev/9b6ca83e0b1a
branches:  trunk
changeset: 332578:9b6ca83e0b1a
user:      justin <justin%NetBSD.org@localhost>
date:      Mon Sep 29 15:54:28 2014 +0000

description:
Minix also has getenv_r support

diffstat:

 lib/librumpuser/rumpuser_port.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 09b775c54fd8 -r 9b6ca83e0b1a lib/librumpuser/rumpuser_port.h
--- a/lib/librumpuser/rumpuser_port.h   Mon Sep 29 15:02:55 2014 +0000
+++ b/lib/librumpuser/rumpuser_port.h   Mon Sep 29 15:54:28 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rumpuser_port.h,v 1.34 2014/07/22 22:41:58 justin Exp $        */
+/*     $NetBSD: rumpuser_port.h,v 1.35 2014/09/29 15:54:28 justin Exp $        */
 
 /*
  * Portability header for non-NetBSD platforms.
@@ -112,8 +112,8 @@
 #include <sys/types.h>
 #include <sys/param.h>
 
-/* NetBSD is the only(?) platform with getenv_r() */
-#if !defined(__NetBSD__)
+/* NetBSD is almost the only platform with getenv_r() */
+#if !(defined(__NetBSD__) || defined(__minix__))
 #include <errno.h>
 #include <stdlib.h>
 #include <string.h>



Home | Main Index | Thread Index | Old Index