[kaffe] CVS kaffe (robilad): build fixes for Cygwin

Kaffe CVS cvs-commits at kaffe.org
Tue May 17 03:51:21 PDT 2005


PatchSet 6539 
Date: 2005/05/17 10:43:37
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
build fixes for Cygwin

2005-05-17  Davanum Srinivas <dims at yahoo.com>

        * kaffe/kaffevm/thread.c (setPriorityThread):
        Fixed prototype to fix compilation problem on Cygwin.

        * kaffe/kaffevm/jit/icode.c (pusharg_int_const):
        Fixed prototype to fix compilation problem on Cygwin.

Members: 
	ChangeLog:1.4065->1.4066 
	kaffe/kaffevm/thread.c:1.99->1.100 
	kaffe/kaffevm/jit/icode.c:1.34->1.35 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4065 kaffe/ChangeLog:1.4066
--- kaffe/ChangeLog:1.4065	Tue May 17 10:20:08 2005
+++ kaffe/ChangeLog	Tue May 17 10:43:37 2005
@@ -1,3 +1,11 @@
+2005-05-17  Davanum Srinivas <dims at yahoo.com>
+
+	* kaffe/kaffevm/thread.c (setPriorityThread):
+	Fixed prototype to fix compilation problem on Cygwin.
+
+	* kaffe/kaffevm/jit/icode.c (pusharg_int_const):
+	Fixed prototype to fix compilation problem on Cygwin.
+
 2005-05-17  Dalibor Topic  <robilad at kaffe.org>
 
 	* libraries/clib/native/java_lang_VMSystem.c,
Index: kaffe/kaffe/kaffevm/thread.c
diff -u kaffe/kaffe/kaffevm/thread.c:1.99 kaffe/kaffe/kaffevm/thread.c:1.100
--- kaffe/kaffe/kaffevm/thread.c:1.99	Tue May 17 10:20:13 2005
+++ kaffe/kaffe/kaffevm/thread.c	Tue May 17 10:43:40 2005
@@ -483,7 +483,7 @@
  * already been updated. In the other case, there will be a small inconsistency.
  */
 void
-setPriorityThread(Hjava_lang_VMThread* tid, int prio)
+setPriorityThread(Hjava_lang_VMThread* tid, jint prio)
 {
 	/* no native thread yet */
 	if (unhand(tid)->jthreadID == 0)
Index: kaffe/kaffe/kaffevm/jit/icode.c
diff -u kaffe/kaffe/kaffevm/jit/icode.c:1.34 kaffe/kaffe/kaffevm/jit/icode.c:1.35
--- kaffe/kaffe/kaffevm/jit/icode.c:1.34	Fri May  6 15:24:29 2005
+++ kaffe/kaffe/kaffevm/jit/icode.c	Tue May 17 10:43:40 2005
@@ -2343,7 +2343,7 @@
 /*									   */
 
 void
-pusharg_int_const(int val, int idx)
+pusharg_int_const(jint val, int idx)
 {
 #if defined(HAVE_pusharg_int_const)
 	if (HAVE_pusharg_int_const_rangecheck(val)) {




More information about the kaffe mailing list