Re: [HACKERS] added long long to BSDI - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] added long long to BSDI
Date
Msg-id 199809100503.BAA20026@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] added long long to BSDI  ("Thomas G. Lockhart" <lockhart@alumni.caltech.edu>)
List 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@candle.pha.pa.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)

pgsql-hackers by date:

Previous
From: "Thomas G. Lockhart"
Date:
Subject: Re: [HACKERS] added long long to BSDI
Next
From: Bruce Momjian
Date:
Subject: open 6.4 items