[kaffe] CVS kaffe (guilhem): Fixed improper macro definition in generated stdint.h

Kaffe CVS cvs-commits at kaffe.org
Sat Jun 18 01:02:15 PDT 2005


PatchSet 6648 
Date: 2005/06/18 07:57:18
Author: guilhem
Branch: HEAD
Tag: (none) 
Log:
Fixed improper macro definition in generated stdint.h

        * m4/ax_create_stdint_h.m4: Patched to get it work on system without
        __UINT64_C and __INT64_C

        * configure: Regenerated.

Members: 
	ChangeLog:1.4174->1.4175 
	configure:1.458->1.459 
	m4/ax_create_stdint_h.m4:1.1->1.2 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4174 kaffe/ChangeLog:1.4175
--- kaffe/ChangeLog:1.4174	Fri Jun 17 12:24:19 2005
+++ kaffe/ChangeLog	Sat Jun 18 07:57:18 2005
@@ -1,5 +1,12 @@
 2005-06-17  Guilhem Lavaux  <guilhem at kaffe.org>
 
+	* m4/ax_create_stdint_h.m4: Patched to get it work on system without
+	__UINT64_C and __INT64_C
+
+	* configure: Regenerated.
+
+2005-06-17  Guilhem Lavaux  <guilhem at kaffe.org>
+
 	* kaffe/kaffevm/support.c
 	(KaffeVM_callMethodA, KaffeVM_callMethodV): 
 	Allocate the argument array following the real slot allocation given
Index: kaffe/configure
diff -u kaffe/configure:1.458 kaffe/configure:1.459
--- kaffe/configure:1.458	Wed Jun 15 09:56:22 2005
+++ kaffe/configure	Sat Jun 18 07:57:20 2005
@@ -53479,6 +53479,14 @@
 #endif
 #endif
 
+#ifdef _HAVE_LONGLONG_UINT64_T
+#  define __INT64_C(c)    c ## L
+#  define __UINT64_C(c)   c ## UL
+# else
+#  define __INT64_C(c)    c ## LL
+#  define __UINT64_C(c)   c ## ULL
+#endif
+
 /* These limits are merily those of a two complement byte-oriented system */
 
 /* Minimum of signed integral types.  */
Index: kaffe/m4/ax_create_stdint_h.m4
diff -u kaffe/m4/ax_create_stdint_h.m4:1.1 kaffe/m4/ax_create_stdint_h.m4:1.2
--- kaffe/m4/ax_create_stdint_h.m4:1.1	Fri May 13 17:09:24 2005
+++ kaffe/m4/ax_create_stdint_h.m4	Sat Jun 18 07:57:27 2005
@@ -30,7 +30,7 @@
 dnl file will include it directly. No need for fuzzy HAVE_STDINT_H things...
 dnl
 dnl @, (status: used on new platforms) (see http://ac-archive.sf.net/gstdint/)
-dnl @version $Id: ax_create_stdint_h.m4,v 1.1 2005/05/13 17:09:24 robilad Exp $
+dnl @version $Id: ax_create_stdint_h.m4,v 1.2 2005/06/18 07:57:27 guilhem Exp $
 dnl @author  Guido Draheim <guidod at gmx.de> 
 
 AC_DEFUN([AX_CHECK_DATA_MODEL],[
@@ -603,6 +603,14 @@
 
   /* literalnumbers */
 #endif
+#endif
+
+#ifdef _HAVE_LONGLONG_UINT64_T
+#  define __INT64_C(c)    c ## L
+#  define __UINT64_C(c)   c ## UL
+# else
+#  define __INT64_C(c)    c ## LL
+#  define __UINT64_C(c)   c ## ULL
 #endif
 
 /* These limits are merily those of a two complement byte-oriented system */




More information about the kaffe mailing list