aboutsummaryrefslogtreecommitdiff
path: root/paludis/util/elf.cc
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2011-10-09 19:05:20 +0100
committerAvatar David Leverton <levertond@googlemail.com> 2011-10-14 23:04:29 +0100
commit69295f04a92ba99d4c2b210c77e80ab48e4be621 (patch)
tree678280f0f15eb3cd856133da19c05a1e28fe4f56 /paludis/util/elf.cc
parentb2fe0588bb37e5777575296a209b1a210968392e (diff)
downloadpaludis-69295f04a92ba99d4c2b210c77e80ab48e4be621.tar.gz
paludis-69295f04a92ba99d4c2b210c77e80ab48e4be621.tar.xz
Define a PALUDIS_ constant for big-endianness
This allows it to be referenced from headers, as we don't install config.h
Diffstat (limited to 'paludis/util/elf.cc')
-rw-r--r--paludis/util/elf.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/util/elf.cc b/paludis/util/elf.cc
index 9936e257b..760fe4f39 100644
--- a/paludis/util/elf.cc
+++ b/paludis/util/elf.cc
@@ -59,7 +59,7 @@ namespace paludis
enum {
native_byte_order =
-#if WORDS_BIGENDIAN
+#ifdef PALUDIS_BIG_ENDIAN
ELFDATA2MSB
#else
ELFDATA2LSB