This is the mail archive of the
cygwin-developers
mailing list for the Cygwin project.
Re: RFC: Cygwin 64 bit?
On Jan 19 17:30, Kai Tietz wrote:
> 2012/1/19 Corinna Vinschen:
> > On Jan 19 14:48, Kai Tietz wrote:
> >> Well, we might still need an extra-header for this, which defines
> >> types for 'long32_t'. ÂAs we need for LLP64 still the type 'long'. ÂWe
> >
> > Oh, ok. ÂI guess we should underscore this type so that we don't have
> > collisions, something like _ms_long_t, _ms_ulong_t. ÂThe ms should make
> > clear that we refer to the definition of long in the MS sense.
> >
> > There's also the chicken-egg problem since we just don't *have* any
> > stdint.h file for 64 bit Cygwin yet. ÂFixable, but still...
>
> Hmm, isn't gcc providing one by default?
Oh, right. The one in /usr/include is so common that I blindly assumed
stdint.h has to be provided by the C library.
> The new header we need can be added to platform-headers and do their
> by some magic if-guards the proper type-defines.
If we use our own specific types (like the above _ms_long_t/_ms_ulong_t)
I think it would be preferrable if the file is part of the Mingw64 headers.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat