aboutsummaryrefslogtreecommitdiff
path: root/src/include/port/hpux.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2007-04-06 05:36:51 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2007-04-06 05:36:51 +0000
commit37a609b27fcb67c28ff34d02ae3e82cd9903dd13 (patch)
tree037c29effb24f829edcf52ad172a4c0af0fcc14a /src/include/port/hpux.h
parent3e23b68dac006e8deb0afa327e855258df8de064 (diff)
downloadpostgresql-37a609b27fcb67c28ff34d02ae3e82cd9903dd13.tar.gz
postgresql-37a609b27fcb67c28ff34d02ae3e82cd9903dd13.zip
Now that core functionality is depending on autoconf's AC_C_BIGENDIAN to be
right, there seems precious little reason to have a pile of hand-maintained endianness definitions in src/include/port/*.h. Get rid of those, and make the couple of places that used them depend on WORDS_BIGENDIAN instead.
Diffstat (limited to 'src/include/port/hpux.h')
-rw-r--r--src/include/port/hpux.h28
1 files changed, 2 insertions, 26 deletions
diff --git a/src/include/port/hpux.h b/src/include/port/hpux.h
index 6c8cdeb2fb7..dc48e6dc143 100644
--- a/src/include/port/hpux.h
+++ b/src/include/port/hpux.h
@@ -1,27 +1,3 @@
-/* $PostgreSQL: pgsql/src/include/port/hpux.h,v 1.23 2006/03/11 04:38:38 momjian Exp $ */
+/* $PostgreSQL: pgsql/src/include/port/hpux.h,v 1.24 2007/04/06 05:36:51 tgl Exp $ */
-#ifndef BIG_ENDIAN
-#define BIG_ENDIAN 4321
-#endif
-#ifndef LITTLE_ENDIAN
-#define LITTLE_ENDIAN 1234
-#endif
-#ifndef PDP_ENDIAN
-#define PDP_ENDIAN 3412
-#endif
-
-#if defined(__hppa)
-
-#ifndef BYTE_ORDER
-#define BYTE_ORDER BIG_ENDIAN
-#endif
-#elif defined(__ia64)
-
-/* HPUX runs IA64 in big-endian mode */
-#ifndef BYTE_ORDER
-#define BYTE_ORDER BIG_ENDIAN
-#endif
-#else
-#error unrecognized CPU type for HP-UX
-
-#endif
+/* nothing needed */