[kaffe] CVS kaffe (dalibor): Fixed NEED_sysdepCallMethod related compiler warnings

Kaffe CVS Kaffe Mailing List <kaffe@kaffe.org>
Wed Mar 24 13:09:04 2004


PatchSet 4574 
Date: 2004/03/24 20:49:10
Author: dalibor
Branch: HEAD
Tag: (none) 
Log:
Fixed NEED_sysdepCallMethod related compiler warnings

2004-03-24  Dalibor Topic <robilad@kaffe.org>

        * config/i386/sysdepCallMethod.h:
        Check if NEED_sysdepCallMethod is defined. Fixes a
        compiler warning.

Members: 
	ChangeLog:1.2152->1.2153 
	config/i386/sysdepCallMethod.h:1.1->1.2 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2152 kaffe/ChangeLog:1.2153
--- kaffe/ChangeLog:1.2152	Wed Mar 24 20:38:42 2004
+++ kaffe/ChangeLog	Wed Mar 24 20:49:10 2004
@@ -1,3 +1,9 @@
+2004-03-24  Dalibor Topic <robilad@kaffe.org>
+
+	* config/i386/sysdepCallMethod.h:
+	Check if NEED_sysdepCallMethod is defined. Fixes a
+	compiler warning.
+
 2004-03-24  Guilhem Lavaux <guilhem@kaffe.org>
 
 	* kaffe/kaffevm/mem/gc-incremental.c: Fixed typo.
@@ -16,7 +22,7 @@
 2004-03-24  Dalibor Topic <robilad@kaffe.org>
 
 	* config/config-std.h:
-	Check if WIT_DMALLOC is defined. Fixes a 
+	Check if WITH_DMALLOC is defined. Fixes a 
 	compiler warning.
 
 2004-03-24  Dalibor Topic <robilad@kaffe.org>
Index: kaffe/config/i386/sysdepCallMethod.h
diff -u kaffe/config/i386/sysdepCallMethod.h:1.1 kaffe/config/i386/sysdepCallMethod.h:1.2
--- kaffe/config/i386/sysdepCallMethod.h:1.1	Thu Dec 11 17:56:20 2003
+++ kaffe/config/i386/sysdepCallMethod.h	Wed Mar 24 20:49:11 2004
@@ -25,7 +25,7 @@
  *  This function is mandatory for both JIT and Interpreter (since stubs
  *  have now been deprecated).
  */
-#if NEED_sysdepCallMethod
+#if defined(NEED_sysdepCallMethod)
 static inline void sysdepCallMethod(callMethodInfo *call) {
   unsigned args = call->nrargs;