Module Name: src Committed By: pooka Date: Wed Jan 8 01:47:31 UTC 2014
Modified Files: src/lib/librumpuser: rumpuser_port.h Log Message: do as the comment says and #if defined(every_other) || defined(platform) || ... ===> #if !defined(__NetBSD__) To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 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.24 src/lib/librumpuser/rumpuser_port.h:1.25 --- src/lib/librumpuser/rumpuser_port.h:1.24 Wed Jan 8 01:45:29 2014 +++ src/lib/librumpuser/rumpuser_port.h Wed Jan 8 01:47:31 2014 @@ -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 time #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>