Is this patch upstream on the OpenBSD side? How and where have you tested it?
I see we do not have a maintainer for OpenBSD, and no other port seems to do anything like that, but if this really matches what you have in place, I can commit it for you. Gerald On Tue, 3 Jan 2012, Mark Kettenis wrote: > These are "long long" on all supported platforms instead of the > default "long" on 64-bit, "long long" on 32-bit that defaults.h > assumes. > > > 2012-01-03 Mark Kettenis <kette...@openbsd.org> > > * config/openbsd-stdint.h (INTMAX_TYPE, UINTMAX_TYPE): New defines. > > > Index: gcc/config/openbsd-stdint.h > =================================================================== > --- gcc/config/openbsd-stdint.h (revision 182767) > +++ gcc/config/openbsd-stdint.h (working copy) > @@ -26,6 +26,9 @@ > #define UINT_FAST16_TYPE "unsigned int" > #define UINT_FAST32_TYPE "unsigned int" > #define UINT_FAST64_TYPE "long long unsigned int" > + > +#define INTMAX_TYPE "long long int" > +#define UINTMAX_TYPE "long long unsigned int" > > #define INTPTR_TYPE "long int" > #define UINTPTR_TYPE "long unsigned int" >