summaryrefslogtreecommitdiff
path: root/src/include/port/hpux.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2004-09-02 21:03:30 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2004-09-02 21:03:30 +0000
commitcb792343074d026b307cc1fdde1a679abaa27a24 (patch)
treef1bdd4353dc8011e9bf2cca43e02ea2e2c4d9c1e /src/include/port/hpux.h
parent3475fd11783098726bebcd7033d05df5cf443dba (diff)
downloadpostgresql-cb792343074d026b307cc1fdde1a679abaa27a24.tar.gz
Apparently HPUX runs the IA64 in big-endian mode.
Diffstat (limited to 'src/include/port/hpux.h')
-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 a1d5afa3ae..949ae23124 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