summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2004-09-02 21:03:30 +0000
committerTom Lane2004-09-02 21:03:30 +0000
commitcb792343074d026b307cc1fdde1a679abaa27a24 (patch)
treef1bdd4353dc8011e9bf2cca43e02ea2e2c4d9c1e
parent3475fd11783098726bebcd7033d05df5cf443dba (diff)
Apparently HPUX runs the IA64 in big-endian mode.
-rw-r--r--src/include/port/hpux.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/port/hpux.h b/src/include/port/hpux.h
index a1d5afa3aec..949ae23124a 100644
--- a/src/include/port/hpux.h
+++ b/src/include/port/hpux.h
@@ -16,8 +16,9 @@
#elif defined(__ia64)
+/* HPUX runs IA64 in big-endian mode */
#ifndef BYTE_ORDER
-#define BYTE_ORDER LITTLE_ENDIAN
+#define BYTE_ORDER BIG_ENDIAN
#endif
#else