Commit 136c35df by Tom Tromey Committed by Tom Tromey

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
parent 02a480f1
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> 2000-11-07 Joseph S. Myers <jsm28@cam.ac.uk>
* expr.c (note_instructions), jcf-io.c (find_class), jcf-parse.c * expr.c (note_instructions), jcf-io.c (find_class), jcf-parse.c
......
...@@ -1766,7 +1766,8 @@ DEFUN(process_file, (jcf, out), ...@@ -1766,7 +1766,8 @@ DEFUN(process_file, (jcf, out),
if (len > 6 && ! strcmp (&jcf->classname[len - 6], ".class")) if (len > 6 && ! strcmp (&jcf->classname[len - 6], ".class"))
len -= 6; len -= 6;
print_include (out, jcf->classname, len); print_include (out, jcf->classname, len);
print_include (out, "gcj/cni", -1); if (! flag_jni)
print_include (out, "gcj/cni", -1);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment