From caf7891083158eb484d6931b46a97689c525371f Mon Sep 17 00:00:00 2001 From: "warren%netscape.com" Date: Tue, 4 Aug 1998 00:53:49 +0000 Subject: [PATCH] Removed struct/class warning for _jobject. git-svn-id: svn://10.0.0.236/trunk@7202 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/sun-java/stubs/include/jri_md.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mozilla/sun-java/stubs/include/jri_md.h b/mozilla/sun-java/stubs/include/jri_md.h index fb7358c2f41..8172a650ad7 100644 --- a/mozilla/sun-java/stubs/include/jri_md.h +++ b/mozilla/sun-java/stubs/include/jri_md.h @@ -151,7 +151,11 @@ typedef juint jsize; #endif /* moved from jni.h -- Sun's new jni.h doesn't have this anymore */ +#ifdef __cplusplus +typedef class _jobject *jref; +#else typedef struct _jobject *jref; +#endif typedef unsigned char jbool; typedef char jbyte;