align64bit.h 441 B

1234567891011121314151617
  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. #ifndef _ALIGN_64_BIT_H
  7. #define _ALIGN_64_BIT_H
  8. /* Simple macro for getting the 64-bit struct arch alignment */
  9. struct __longlong_aligned { long long x; };
  10. #define __ARCH_64BIT_ALIGNMENT__ \
  11. __attribute__((aligned(__alignof__(struct __longlong_aligned))))
  12. #endif /* bits/align64bit.h */