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