Now that core functionality is depending on autoconf's AC_C_BIGENDIAN to be
Tom Lane <tgl@sss.pgh.pa.us>
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.
Files
| Path | Change | +/− |
|---|---|---|
| configure | modified | +1 −2 |
| configure.in | modified | +2 −2 |
| contrib/pgcrypto/crypt-blowfish.c | modified | +11 −11 |
| contrib/pgcrypto/md5.c | modified | +8 −16 |
| contrib/pgcrypto/px.h | modified | +1 −8 |
| contrib/pgcrypto/rijndael.c | modified | +2 −12 |
| contrib/pgcrypto/sha1.c | modified | +4 −9 |
| contrib/pgcrypto/sha2.c | modified | +9 −43 |
| src/backend/libpq/pqformat.c | modified | +20 −31 |
| src/include/pg_config.h.in | modified | +0 −3 |
| src/include/pg_config.h.win32 | modified | +0 −3 |
| src/include/port/aix.h | modified | +0 −3 |
| src/include/port/dgux.h | modified | +2 −14 |
| src/include/port/hpux.h | modified | +2 −26 |
| src/include/port/sco.h | modified | +0 −14 |
| src/include/port/solaris.h | modified | +1 −23 |
| src/include/port/sunos4.h | modified | +0 −14 |
| src/include/port/svr4.h | modified | +2 −5 |
| src/include/port/ultrix4.h | modified | +0 −13 |
| src/include/port/univel.h | modified | +0 −14 |
| src/include/port/unixware.h | modified | +0 −14 |
| src/include/port/win32.h | modified | +1 −15 |