endian.h 394 B

123456789101112131415
  1. /*
  2. * Copyright (C) 2013 Synopsys, Inc. (www.synopsys.com)
  3. *
  4. * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB in this tarball.
  5. */
  6. #ifndef _ENDIAN_H
  7. # error "Never use <bits/endian.h> directly; include <endian.h> instead."
  8. #endif
  9. /* ARC support either endianness. */
  10. #ifdef __BIG_ENDIAN__
  11. #define __BYTE_ORDER __BIG_ENDIAN
  12. #else
  13. #define __BYTE_ORDER __LITTLE_ENDIAN
  14. #endif