summaryrefslogtreecommitdiff
blob: 63cfaddb808cb35a78cd52687472565bcd5aac07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- nss/lib/dbm/include/mcom_db.h
+++ nss/lib/dbm/include/mcom_db.h
@@ -110,11 +110,13 @@
 #endif /* !BYTE_ORDER */
 #endif /* __sun */
 
+#ifndef BYTE_ORDER
 #if defined(__hpux) || defined(__hppa)
 #define BYTE_ORDER BIG_ENDIAN
 #define BIG_ENDIAN 4321
 #define LITTLE_ENDIAN 1234 /* LSB first: i386, vax, all NT risc */
 #endif
+#endif /* !BYTE_ORDER */
 
 #if defined(AIXV3) || defined(AIX)
 /* BYTE_ORDER, LITTLE_ENDIAN, BIG_ENDIAN are all defined here */