gcclib.h 371 B

12345678910111213141516171819202122
  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 {
  8. s32 high, low;
  9. };
  10. #else
  11. struct DIstruct {
  12. s32 low, high;
  13. };
  14. #endif
  15. typedef union {
  16. struct DIstruct s;
  17. s64 ll;
  18. } DIunion;