classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] Patch to fix environ for Darwin


From: Chris Burdess
Subject: [cp-patches] Patch to fix environ for Darwin
Date: Tue, 21 Dec 2004 15:57:46 +0000

Darwin does not have a variable named environ but has a function _NSGetEnviron which you can get the environ variable with.

2004-12-21  Chris Burdess  <address@hidden>

        * configure.ac: Check for presence of crt_externs.h on Darwin.
* native/jni/java-lang/java_lang_VMProcess.c: If HAVE_CRT_EXTERNS_H
        is defined, define environ as calling _NSGetEnviron(), otherwise
        define it as an external variable.

--
Chris Burdess

Attachment: patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]