mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-08 08:56:49 +08:00
gjavah.c (process_file): Only include gcj/cni.h when generating CNI stubs.
* gjavah.c (process_file): Only include gcj/cni.h when generating CNI stubs. From-SVN: r37325
This commit is contained in:
parent
02a480f137
commit
136c35df1c
@ -1,3 +1,8 @@
|
||||
2000-11-08 Tom Tromey <tromey@cygnus.com>
|
||||
|
||||
* gjavah.c (process_file): Only include gcj/cni.h when generating
|
||||
CNI stubs.
|
||||
|
||||
2000-11-07 Joseph S. Myers <jsm28@cam.ac.uk>
|
||||
|
||||
* expr.c (note_instructions), jcf-io.c (find_class), jcf-parse.c
|
||||
|
@ -1766,7 +1766,8 @@ DEFUN(process_file, (jcf, out),
|
||||
if (len > 6 && ! strcmp (&jcf->classname[len - 6], ".class"))
|
||||
len -= 6;
|
||||
print_include (out, jcf->classname, len);
|
||||
print_include (out, "gcj/cni", -1);
|
||||
if (! flag_jni)
|
||||
print_include (out, "gcj/cni", -1);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user