MSP430: Relax target glob for configuring GDB
[deliverable/binutils-gdb.git] / libctf / ctf-endian.h
index ec177d1bdd816e4a56a406519b923bfbfaae8243..f1cc527a080572a69210ec82536db7231fe3014f 100644 (file)
 #include <stdint.h>
 #include "swap.h"
 
-#ifndef HAVE_ENDIAN_H
+#if !defined (HAVE_ENDIAN_H) || !defined (htole64)
 #ifndef WORDS_BIGENDIAN
-# define htole64(x) bswap_identity_64 ((x))
-# define le64toh(x) bswap_identity_64 ((x))
+# define htole64(x) (x)
+# define le64toh(x) (x)
 #else
 # define htole64(x) bswap_64 ((x))
 # define le64toh(x) bswap_64 ((x))
This page took 0.023333 seconds and 4 git commands to generate.