1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-12-23 12:03:41 +01:00

Move endian-stuff to internal.h.

(Logical change 1.75)
This commit is contained in:
mostang.com!davidm 2003-04-03 07:59:15 +00:00
parent a04f38ef19
commit d53636d414

View file

@ -29,17 +29,6 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/* Target-dependent definitions that are internal to libunwind but need /* Target-dependent definitions that are internal to libunwind but need
to be shared with target-independent code. */ to be shared with target-independent code. */
#ifdef HAVE_ENDIAN_H
# include <endian.h>
#else
# define __LITTLE_ENDIAN 1234
# define __BIG_ENDIAN 4321
# if defined(__hpux)
# define __BYTE_ORDER __LITTLE_ENDIAN
# else
# error Host has unknown byte-order.
# endif
#endif
#include <libunwind.h> #include <libunwind.h>
#include "elf64.h" #include "elf64.h"