summaryrefslogtreecommitdiffstats
path: root/heimdall/source/InboundPacket.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--heimdall/source/InboundPacket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/heimdall/source/InboundPacket.h b/heimdall/source/InboundPacket.h
index bf393fa..6ff3087 100644
--- a/heimdall/source/InboundPacket.h
+++ b/heimdall/source/InboundPacket.h
@@ -37,7 +37,7 @@ namespace Heimdall
int UnpackInteger(int offset)
{
-#ifdef PPC
+#ifdef WORDS_BIGENDIAN
int value = (data[offset] << 24) | (data[offset + 1] << 16) |
(data[offset + 2] << 8) | data[offset + 3];
#else