diff options
Diffstat (limited to 'pr/src/misc/prlong.c')
-rw-r--r-- | pr/src/misc/prlong.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pr/src/misc/prlong.c b/pr/src/misc/prlong.c index df8d9e2e..31153293 100644 --- a/pr/src/misc/prlong.c +++ b/pr/src/misc/prlong.c @@ -37,6 +37,7 @@ static PRInt64 ll_zero = LL_INIT( 0x00000000,0x00000000 ); static PRInt64 ll_maxint = LL_INIT( 0x7fffffff, 0xffffffff ); static PRInt64 ll_minint = LL_INIT( 0x80000000, 0x00000000 ); +static PRUint64 ll_maxuint = LL_INIT( 0xffffffff, 0xffffffff ); #if defined(HAVE_WATCOM_BUG_2) PRInt64 __pascal __loadds __export @@ -45,10 +46,13 @@ PRInt64 __pascal __loadds __export LL_MaxInt(void) { return ll_maxint; } PRInt64 __pascal __loadds __export LL_MinInt(void) { return ll_minint; } +PRUint64 __pascal __loadds __export + LL_MaxUint(void) { return ll_maxuint; } #else PR_IMPLEMENT(PRInt64) LL_Zero(void) { return ll_zero; } PR_IMPLEMENT(PRInt64) LL_MaxInt(void) { return ll_maxint; } PR_IMPLEMENT(PRInt64) LL_MinInt(void) { return ll_minint; } +PR_IMPLEMENT(PRUint64) LL_MaxUint(void) { return ll_maxuint; } #endif #ifndef HAVE_LONG_LONG |