max_align_t
This commit is contained in:
parent
700828676b
commit
c72bce50ac
1 changed files with 11 additions and 0 deletions
|
@ -10,4 +10,15 @@
|
||||||
#define size_t uint64_t
|
#define size_t uint64_t
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
#if __riscv_xlen == 64
|
||||||
|
long double ld;
|
||||||
|
#elif __riscv_xlen == 32
|
||||||
|
long long ll;
|
||||||
|
#else
|
||||||
|
double d;
|
||||||
|
#endif
|
||||||
|
void *p;
|
||||||
|
} max_align_t;
|
||||||
|
|
||||||
#endif // STDDEF_H
|
#endif // STDDEF_H
|
||||||
|
|
Loading…
Add table
Reference in a new issue