From 55b6c57d45a1ea3f21e98e682c7a4fcc3befbff8 Mon Sep 17 00:00:00 2001 From: "briano%netscape.com" Date: Thu, 10 Jun 1999 22:37:27 +0000 Subject: [PATCH] Ifdef hack to get this to compile on SunOS 4.x. --- xpcom/ds/nsIVariant.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xpcom/ds/nsIVariant.h b/xpcom/ds/nsIVariant.h index a460a1c525e..9a1c3c670a5 100644 --- a/xpcom/ds/nsIVariant.h +++ b/xpcom/ds/nsIVariant.h @@ -52,7 +52,7 @@ public: nsVariantValue(PRInt32 value) { mUnion._PRInt32 = value; } nsVariantValue(PRUint32 value) { mUnion._PRUint32 = value; } nsVariantValue(PRInt64 value) { mUnion._PRInt64 = value; } -#ifndef XP_MAC +#if !defined(XP_MAC) && !defined(SUNOS4) nsVariantValue(PRUint64 value) { mUnion._PRUint64 = value; } #endif nsVariantValue(float value) { mUnion._float = value; } @@ -68,7 +68,7 @@ public: operator PRInt32() { return mUnion._PRInt32; } operator PRUint32() { return mUnion._PRUint32; } operator PRInt64() { return mUnion._PRInt64; } -#ifndef XP_MAC +#if !defined(XP_MAC) && !defined(SUNOS4) operator PRUint64() { return mUnion._PRUint64; } #endif operator float() { return mUnion._float; }