/[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.2.7 by gnu_andrew, Wed Nov 2 00:44:07 2005 UTC revision 1.2.2.8 by rsdio, Tue Dec 6 06:34:11 2005 UTC
# Line 50  exception statement from your version. * Line 50  exception statement from your version. *
50  #include <fcntl.h>  #include <fcntl.h>
51  #include <stdio.h>  #include <stdio.h>
52    
53    #include <jcl.h>
54    
55  #include "target_native.h"  #include "target_native.h"
56  #include "target_native_misc.h"  #include "target_native_misc.h"
57    
# Line 57  exception statement from your version. * Line 59  exception statement from your version. *
59  static char *copy_string (JNIEnv * env, jobject string);  static char *copy_string (JNIEnv * env, jobject string);
60  static char *copy_elem (JNIEnv * env, jobject stringArray, jint i);  static char *copy_elem (JNIEnv * env, jobject stringArray, jint i);
61    
 /* Some O/S's don't declare 'environ' */  
 #if HAVE_CRT_EXTERNS_H  
 /* Darwin does not have a variable named environ  
    but has a function which you can get the environ  
    variable with.  */  
 #include <crt_externs.h>  
 #define environ (*_NSGetEnviron())  
 #else  
 extern char **environ;  
 #endif /* HAVE_CRT_EXTERNS_H */  
   
62  /*  /*
63   * Internal helper function to copy a String in UTF-8 format.   * Internal helper function to copy a String in UTF-8 format.
64   */   */

Legend:
Removed from v.1.2.2.7  
changed lines
  Added in v.1.2.2.8

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