1 /* 2 * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org> 3 * 4 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. 5 */ 6 7 #ifndef _ALIGN_64_BIT_H 8 #define _ALIGN_64_BIT_H 9 10 /* Simple macro for getting the 64-bit struct arch alignment */ 11 12 struct __longlong_aligned { long long x; }; 13 14 #define __ARCH_64BIT_ALIGNMENT__ \ 15 __attribute__((aligned(__alignof__(struct __longlong_aligned)))) 16 17 #endif /* bits/align64bit.h */ 18