pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: www/firefox on NetBSD sparc



On Friday 02 May 2008 11:51:56 Martin Husemann wrote:
> On Thu, May 01, 2008 at 02:18:38PM +0100, raymond.meyer%rambler.ru@localhost 
> wrote:
> > the error seems to be on this line:
> >
> >             if (mOffset != LL_MAXUINT) {
> >
> > earlier mOffset is declared as nsUint64, and on 32-bit sparc unsigned
> > long is 32-bit wide. Anyone knows a proper way to fix this?
>
> Where/how is LL_MAXUINT declared? Does it have proper ULL suffix?
>
> Martin

I tracked the following definitions in 

./dist/sdk/include/prlong.h

and

./nsprpub/pr/include/prlong.h

#if defined(HAVE_LONG_LONG)

#if PR_BYTES_PER_LONG == 8
#define LL_MAXINT   9223372036854775807L
#define LL_MININT   (-LL_MAXINT - 1L)
#define LL_ZERO     0L
#define LL_MAXUINT  18446744073709551615UL
#define LL_INIT(hi, lo)  ((hi ## L << 32) + lo ## L)
#elif (defined(WIN32) || defined(WIN16)) && !defined(__GNUC__)
#define LL_MAXINT   9223372036854775807i64
#define LL_MININT   (-LL_MAXINT - 1i64)
#define LL_ZERO     0i64
#define LL_MAXUINT  18446744073709551615ui64
#define LL_INIT(hi, lo)  ((hi ## i64 << 32) + lo ## i64)
#else
#define LL_MAXINT   9223372036854775807LL
#define LL_MININT   (-LL_MAXINT - 1LL)
#define LL_ZERO     0LL
#define LL_MAXUINT  18446744073709551615ULL
#define LL_INIT(hi, lo)  ((hi ## LL << 32) + lo ## LL)
#endif


Home | Main Index | Thread Index | Old Index