[kaffe] fix intmax_t bug in ax_create_stdint_h.m4

Kurt Miller truk at optonline.net
Thu Jul 21 13:59:48 PDT 2005


Both OpenBSD and FreeBSD/4 don't have intmax_t, but it's not
getting defined by ax_create_stdint_h.m4. This patch fixes
that.

Please review and commit if ok.

Thanks,
-Kurt

Index: ax_create_stdint_h.m4
===================================================================
RCS file: /cvs/kaffe/kaffe/m4/ax_create_stdint_h.m4,v
retrieving revision 1.4
diff -u -r1.4 ax_create_stdint_h.m4
--- ax_create_stdint_h.m4	21 Jun 2005 16:11:57 -0000	1.4
+++ ax_create_stdint_h.m4	21 Jul 2005 21:57:27 -0000
@@ -351,11 +351,11 @@
 
 #ifndef _STDINT_HEADER_INTPTR
 #define _STDINT_NEED_INTPTR_T
+#endif
+
 #ifndef _STDINT_HAVE_INTMAX_T
 #define _STDINT_NEED_INTMAX_T
 #endif
-#endif
-
 
 /* .................... definition part ............................ */
 



More information about the kaffe mailing list