From a733fa8a8b8c0a0fb3de8d957e8c7bfa3c7eda9d Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Mon, 6 Sep 2004 17:58:57 +0000 Subject: [PATCH] use long pointer on osf --- bindings/java/src/jni/javasigar.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bindings/java/src/jni/javasigar.c b/bindings/java/src/jni/javasigar.c index 020d6e6f..2c613574 100644 --- a/bindings/java/src/jni/javasigar.c +++ b/bindings/java/src/jni/javasigar.c @@ -15,6 +15,10 @@ #include "javasigar_generated.h" +#if defined(__osf__) +#define SIGAR_POINTER_LONG +#endif + #define JENV (*env) #define SIGAR_PACKAGE "net/hyperic/sigar/"