? paflof-64bit.diff ? ti-mode.diff Index: paflof.c =================================================================== RCS file: /srv/cvs/openbios/paflof/paflof.c,v retrieving revision 1.6 diff -u -r1.6 paflof.c --- paflof.c 2002/05/30 04:11:05 1.6 +++ paflof.c 2002/06/03 16:24:26 @@ -13,16 +13,28 @@ typedef uint32_t type_l; // 4 bytes typedef intptr_t type_n; // cell size typedef uintptr_t type_u; // cell size +#if defined(__alpha__) || defined(__x86_64__) || \ + defined(__ia64__) || defined(ppc64) +typedef intmax_t type_d __attribute__ ((mode (TI))); // 2 * cell size +typedef uintmax_t type_du __attribute__ ((mode (TI))); // 2 * cell size +#else typedef intmax_t type_d; // 2 * cell size typedef uintmax_t type_du; // 2 * cell size +#endif #else typedef unsigned char type_c; // 1 byte typedef short type_w; // 2 bytes typedef int type_l; // 4 bytes typedef long type_n; // cell size typedef unsigned long type_u; // cell size +#if defined(__alpha__) || defined(__x86_64__) || \ + defined(__ia64__) || defined(ppc64) +typedef long type_d __attribute__ ((mode (TI))); // 2 * cell size +typedef unsigned long type_du __attribute__ ((mode (TI))); // 2 * cell size +#else typedef long long type_d; // 2 * cell size typedef unsigned long long type_du;// 2 * cell size +#endif #endif #define CELLSIZE (sizeof(type_u) / sizeof(type_c))