alltypes.h.in 758 B

12345678910111213141516171819202122232425262728293031
  1. #define _REDIR_TIME64 1
  2. #define _Addr int
  3. #define _Int64 long long
  4. #define _Reg int
  5. #define __BYTE_ORDER 1234
  6. #define __LONG_MAX 0x7fffffffL
  7. #ifndef __cplusplus
  8. #ifdef __WCHAR_TYPE__
  9. TYPEDEF __WCHAR_TYPE__ wchar_t;
  10. #else
  11. TYPEDEF long wchar_t;
  12. #endif
  13. #endif
  14. #if defined(__FLT_EVAL_METHOD__) && __FLT_EVAL_METHOD__ == 0
  15. TYPEDEF float float_t;
  16. TYPEDEF double double_t;
  17. #else
  18. TYPEDEF long double float_t;
  19. TYPEDEF long double double_t;
  20. #endif
  21. #if !defined(__cplusplus)
  22. TYPEDEF struct { _Alignas(8) long long __ll; long double __ld; } max_align_t;
  23. #elif defined(__GNUC__)
  24. TYPEDEF struct { __attribute__((__aligned__(8))) long long __ll; long double __ld; } max_align_t;
  25. #else
  26. TYPEDEF struct { alignas(8) long long __ll; long double __ld; } max_align_t;
  27. #endif