summaryrefslogtreecommitdiff
path: root/archivers/unrar/patches/patch-ac
blob: 5c2850d612676100f9bcada69a29819c920e4a6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-ac,v 1.4 2012/09/14 14:09:17 wiz Exp $

--- os.hpp.orig	2008-09-16 14:24:56.000000000 +0000
+++ os.hpp
@@ -212,6 +213,12 @@
   #endif
 #endif
 
+#if defined(__i386) || defined(i386) || defined(__i386__) || defined(__amd64) || defined(amd64) || defined(__amd64__)
+  #ifndef LITTLE_ENDIAN
+     #define LITTLE_ENDIAN
+  #endif
+#endif
+
 #endif
 
   typedef const char* MSGID;