]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Apparently HPUX runs the IA64 in big-endian mode.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 2 Sep 2004 21:03:30 +0000 (21:03 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 2 Sep 2004 21:03:30 +0000 (21:03 +0000)
src/include/port/hpux.h

index a1d5afa3aec351ffdecb99b253a200fbb3845fd7..949ae23124a71d946c8aacde9901f74f5fe8c14a 100644 (file)
@@ -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