gcclib.h 373 B

1234567891011121314151617181920
  1. /* gcclib.h -- definitions for various functions 'borrowed' from gcc-2.95.3 */
  2. /* I Molton 29/07/01 */
  3. #include <linux/types.h>
  4. #define BITS_PER_UNIT 8
  5. #define SI_TYPE_SIZE (sizeof(s32) * BITS_PER_UNIT)
  6. #ifdef __ARMEB__
  7. struct DIstruct {s32 high, low;};
  8. #else
  9. struct DIstruct {s32 low, high;};
  10. #endif
  11. typedef union
  12. {
  13. struct DIstruct s;
  14. s64 ll;
  15. } DIunion;