Module Name: src Committed By: justin Date: Mon Sep 29 15:54:28 UTC 2014
Modified Files: src/lib/librumpuser: rumpuser_port.h Log Message: Minix also has getenv_r support To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/lib/librumpuser/rumpuser_port.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/librumpuser/rumpuser_port.h diff -u src/lib/librumpuser/rumpuser_port.h:1.34 src/lib/librumpuser/rumpuser_port.h:1.35 --- src/lib/librumpuser/rumpuser_port.h:1.34 Tue Jul 22 22:41:58 2014 +++ src/lib/librumpuser/rumpuser_port.h Mon Sep 29 15:54:28 2014 @@ -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 @@ clock_gettime(clockid_t clk, struct time #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>