Re: [HACKERS] added long long to BSDI

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: lockhart(at)alumni(dot)caltech(dot)edu (Thomas G(dot) Lockhart)
Cc: hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] added long long to BSDI
Date: 1998-09-10 05:03:36
Message-ID: 199809100503.BAA20026@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> > I have found BSDI used %qd for long long, while gnulibc used %Ld. I
> > have changed HAVE_LONG_LONG_INT_64 to be HAVE_LONG_LONG_INT_64_Ld and
> > added HAVE_LONG_LONG_INT_64_qd, and added the proper changes.
>
> But the code no longer uses "%Ld", using "%lld" instead to be compatible
> with both gnu and with AIX. Is that still the case? If so, then perhaps
> we should have a different name...
>
> Good news on BSDI though. We have the 64-bit ints for ~6 platforms now?
> >From what I can recall, Linux/i86, Linux/sparc, Linux/alpha, Unix/alpha,
> BSDI/i86, and AIX are supported? How about FreeBSD? Any other platforms?

OK, I can change the name and code, but the configure test used %Ld, and
the code used %lld. Sure you want to change it?

--
Bruce Momjian | 830 Blythe Avenue
maillist(at)candle(dot)pha(dot)pa(dot)us | Drexel Hill, Pennsylvania 19026
+ If your life is a hard drive, | (610) 353-9879(w)
+ Christ can be your backup. | (610) 853-3000(h)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1998-09-10 05:04:05 open 6.4 items
Previous Message Thomas G. Lockhart 1998-09-10 05:01:41 Re: [HACKERS] added long long to BSDI