classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] [generics] RFC: fix generics branch compilation on Darwin


From: Casey Marshall
Subject: [cp-patches] [generics] RFC: fix generics branch compilation on Darwin
Date: Sun, 4 Dec 2005 21:56:26 -0800

java_lang_VMSystem.c references 'extern char **environ,' which isn't defined on Darwin. java_lang_VMProcess.c has a little #if that defines this to a special function (_NSGetEnviron) for Darwin; the attached patch does the same for VMSystem.

Does this look OK? I haven't tested this yet (I'm not entirely sure how to do so; I've heard that jamvm can run this branch, so I'm going to try that).

Attachment: VMSystem-environ-darwin.patch.txt
Description: Text document


reply via email to

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