14 lines
833 B
Text
14 lines
833 B
Text
|
$NetBSD: patch-at,v 1.1 2006/01/08 04:57:55 joerg Exp $
|
||
|
|
||
|
--- src/ptlib/unix/pipechan.cxx.orig 2006-01-08 03:19:37.000000000 +0000
|
||
|
+++ src/ptlib/unix/pipechan.cxx
|
||
|
@@ -298,7 +298,7 @@ BOOL PPipeChannel::PlatformOpen(const PS
|
||
|
|
||
|
// Set up new environment if one specified.
|
||
|
if (environment != NULL) {
|
||
|
-#if defined(P_SOLARIS) || defined(P_FREEBSD) || defined(P_OPENBSD) || defined (P_NETBSD) || defined(__BEOS__) || defined(P_MACOSX) || defined(P_MACOS) || defined (P_AIX) || defined(P_IRIX) || defined(P_QNX)
|
||
|
+#if defined(P_SOLARIS) || defined(P_FREEBSD) || defined(P_OPENBSD) || defined (P_NETBSD) || defined(__BEOS__) || defined(P_MACOSX) || defined(P_MACOS) || defined (P_AIX) || defined(P_IRIX) || defined(P_QNX) || defined(P_DRAGONFLY)
|
||
|
extern char ** environ;
|
||
|
# if defined(P_MACOSX)
|
||
|
# define environ (*_NSGetEnviron())
|