[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cp-patches] Patch to fix environ for Darwin
From: |
Michael Koch |
Subject: |
Re: [cp-patches] Patch to fix environ for Darwin |
Date: |
Tue, 21 Dec 2004 17:05:43 +0100 |
User-agent: |
KMail/1.6.2 |
Am Dienstag, 21. Dezember 2004 16:57 schrieb Chris Burdess:
> 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.
Looks okay, but I would write
/* Some O/S's don't declare 'environ' */
instead of
/* Some O/S's don't declare this */
Michael
--
Homepage: http://www.worldforge.org/