forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-libs/nss: Fix some definitions for HPPA.
Package-Manager: portage-2.2.26
- Loading branch information
Jeroen Roovers
committed
Dec 25, 2015
1 parent
95f0ac8
commit 6cdfec2
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- a/nss/lib/dbm/include/mcom_db.h | ||
+++ b/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 */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters