зеркало из https://github.com/mozilla/gecko-dev.git
Ifdef hack to get this to compile on SunOS 4.x.
This commit is contained in:
Родитель
df68c17157
Коммит
6a00550c5e
|
@ -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; }
|
||||
|
|
Загрузка…
Ссылка в новой задаче