[kaffe] CVS kaffe (robilad): Fixed build on darwin6, hopefully, finally. Grr :).

Kaffe CVS cvs-commits at kaffe.org
Sat Mar 26 03:01:58 PST 2005


PatchSet 5611 
Date: 2005/03/26 10:56:09
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Fixed build on darwin6, hopefully, finally. Grr :).

2005-03-25  Dalibor Topic  <robilad at kaffe.org>

        * libraries/clib/nio/gnu_java_nio_VMSelector.c:
        Moved include statement for config.h to the top to
        fix the build on Darwin6.

        Reported by:  Riccardo Mottola <zuse at libero.it>

Members: 
	ChangeLog:1.3783->1.3784 
	libraries/clib/nio/gnu_java_nio_VMSelector.c:1.2->1.3 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3783 kaffe/ChangeLog:1.3784
--- kaffe/ChangeLog:1.3783	Sat Mar 26 09:39:51 2005
+++ kaffe/ChangeLog	Sat Mar 26 10:56:09 2005
@@ -7,6 +7,14 @@
 
 2005-03-25  Dalibor Topic  <robilad at kaffe.org>
 
+	* libraries/clib/nio/gnu_java_nio_VMSelector.c:
+	Moved include statement for config.h to the top to
+	fix the build on Darwin6.
+
+	Reported by:  Riccardo Mottola <zuse at libero.it>
+
+2005-03-25  Dalibor Topic  <robilad at kaffe.org>
+
 	* kaffe/kaffevm/kaffe.def: (GETSTATIC) Cast
 	short constants to jshort before moving them.
 
Index: kaffe/libraries/clib/nio/gnu_java_nio_VMSelector.c
diff -u kaffe/libraries/clib/nio/gnu_java_nio_VMSelector.c:1.2 kaffe/libraries/clib/nio/gnu_java_nio_VMSelector.c:1.3
--- kaffe/libraries/clib/nio/gnu_java_nio_VMSelector.c:1.2	Sat Mar 26 04:38:11 2005
+++ kaffe/libraries/clib/nio/gnu_java_nio_VMSelector.c	Sat Mar 26 10:56:11 2005
@@ -35,6 +35,8 @@
 obligated to do so.  If you do not wish to do so, delete this
 exception statement from your version. */
 
+#include "config.h"
+
 /* <sys/types.h> needs to be included on OSX before <sys/select.h> */
 #if defined(HAVE_SYS_TYPES_H)
 #include <sys/types.h>
@@ -45,7 +47,6 @@
 
 #include <string.h>
 
-#include <config.h>
 #include <errno.h>
 
 #include <jni.h>




More information about the kaffe mailing list