]>
Commit | Line | Data |
---|---|---|
14e46099 SS |
1 | * __aligned_u64 definition |
2 | * patch from http://www.zytor.com/pipermail/klibc/2011-November/003151.html | |
3 | --- a/klibc/usr/include/sys/types.h | |
4 | +++ b/klibc/usr/include/sys/types.h | |
5 | @@ -100,6 +100,10 @@ typedef uint16_t __sum16; | |
6 | typedef uint32_t __sum32; | |
7 | typedef uint64_t __sum64; | |
8 | ||
9 | +#define __aligned_u64 __u64 __attribute__((aligned(8))) | |
10 | +#define __aligned_be64 __be64 __attribute__((aligned(8))) | |
11 | +#define __aligned_le64 __le64 __attribute__((aligned(8))) | |
12 | + | |
13 | /* | |
14 | * Some headers seem to require this... | |
15 | */ |