diff --git a/xpcom/ds/nsIVariant.h b/xpcom/ds/nsIVariant.h index a460a1c525e8..9a1c3c670a5e 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; }