/[classpath]/classpath/native/jni/java-lang/java_lang_VMProcess.c
ViewVC logotype

Diff of /classpath/native/jni/java-lang/java_lang_VMProcess.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by mkoch, Thu Apr 29 06:42:15 2004 UTC revision 1.3 by dog, Tue Dec 21 16:17:07 2004 UTC
# Line 55  exception statement from your version. * Line 55  exception statement from your version. *
55  static char *copy_string(JNIEnv *env, jobject string);  static char *copy_string(JNIEnv *env, jobject string);
56  static char *copy_elem(JNIEnv *env, jobject stringArray, jint i);  static char *copy_elem(JNIEnv *env, jobject stringArray, jint i);
57    
58  /* Some O/S's don't declare this */  /* Some O/S's don't declare 'environ' */
59    #if HAVE_CRT_EXTERNS_H
60    /* Darwin does not have a variable named environ
61       but has a function which you can get the environ
62       variable with.  */
63    #include <crt_externs.h>
64    #define environ (*_NSGetEnviron())
65    #else
66  extern char **environ;  extern char **environ;
67    #endif /* HAVE_CRT_EXTERNS_H */
68    
69  /*  /*
70   * Internal helper function to copy a String in UTF-8 format.   * Internal helper function to copy a String in UTF-8 format.

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26