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"

Reply via email to