projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[gdb/testsuite] Add PR number to KFAIL in gdb.opt/inline-cmds.exp
[deliverable/binutils-gdb.git]
/
libctf
/
ctf-endian.h
diff --git
a/libctf/ctf-endian.h
b/libctf/ctf-endian.h
index ec177d1bdd816e4a56a406519b923bfbfaae8243..22aa8b6fba0bba9b72a33972ad73c4606f6632c0 100644
(file)
--- a/
libctf/ctf-endian.h
+++ b/
libctf/ctf-endian.h
@@
-1,5
+1,5
@@
/* Interface to endianness-neutrality functions.
/* Interface to endianness-neutrality functions.
- Copyright (C) 2019 Free Software Foundation, Inc.
+ Copyright (C) 2019
-2020
Free Software Foundation, Inc.
This file is part of libctf.
This file is part of libctf.
@@
-24,10
+24,10
@@
#include <stdint.h>
#include "swap.h"
#include <stdint.h>
#include "swap.h"
-#if
ndef HAVE_ENDIAN_H
+#if
!defined (HAVE_ENDIAN_H) || !defined (htole64)
#ifndef WORDS_BIGENDIAN
#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))
#else
# define htole64(x) bswap_64 ((x))
# define le64toh(x) bswap_64 ((x))
This page took
0.023435 seconds
and
4
git commands to generate.