classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] Build fix


From: Archie Cobbs
Subject: [cp-patches] Build fix
Date: Mon, 26 Jul 2004 16:30:41 -0500 (CDT)

FYI,

This patch fixes an invalid assumption-of-Linux build problem.
Will commit soon.

Thanks,
-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com


diff -u -r1.14 gthread-jni.c
--- native/jni/gtk-peer/gthread-jni.c   9 Jul 2004 10:37:33 -0000       1.14
+++ native/jni/gtk-peer/gthread-jni.c   26 Jul 2004 21:26:06 -0000
@@ -218,7 +218,11 @@
 /* Global data                                                         */
 /************************************************************************/
 
+#if defined HAVE_STDINT_H
 #include <stdint.h>            /* provides intptr_t */
+#elif defined HAVE_INTTYPES_H
+#include <inttypes.h>
+#endif
 #include <stdarg.h>            /* va_list */
 #include "gthread-jni.h"
 #include <assert.h>            /* assert() */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]