summaryrefslogtreecommitdiff
path: root/arch/sh/bits/alltypes.h.in
blob: 04e0fcca11c1f5d6b49cd37612bae20d2f3bc053 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#define _REDIR_TIME64 1
#define _Addr int
#define _Int64 long long
#define _Reg int

#if __BIG_ENDIAN__
#define __BYTE_ORDER 4321
#else
#define __BYTE_ORDER 1234
#endif

#define __LONG_MAX 0x7fffffffL

#ifndef __cplusplus
#ifdef __WCHAR_TYPE__
TYPEDEF __WCHAR_TYPE__ wchar_t;
#else
TYPEDEF long wchar_t;
#endif
#endif

TYPEDEF float float_t;
TYPEDEF double double_t;

TYPEDEF struct { long long __ll; long double __ld; } max_align_t;

TYPEDEF long long time_t;
TYPEDEF long long suseconds_t;