diff options
| author | Marc G. Fournier | 1997-03-20 18:23:33 +0000 |
|---|---|---|
| committer | Marc G. Fournier | 1997-03-20 18:23:33 +0000 |
| commit | bf872f0aff435cce475279d56f8f981f3044ba77 (patch) | |
| tree | 47b6585f9991ae74e4ed6e57be50e7436472ffcb /src/port | |
| parent | 7d5770eaf29c494e9a7830ae02c92a3bec202ab2 (diff) | |
From: "D'Arcy J.M. Cain" <darcy@druid.net>
Subject: [HACKERS] libpq/pqcomm stuff and Solaris byte order
I decided to go ahead with the required changes since no one else seems
to. I don't guarantee that it is perfect but with these changes the
package actually compiles. While I was at it I added to the Sparc
Solaris header to define the byte order. Note that NetBSD sets this
in the system headers so it wasn't required there.
In particular, someone may want to check whether I removed the correct
84 lines from backend/libpq/pqcomprim.c.
Diffstat (limited to 'src/port')
| -rw-r--r-- | src/port/sparc_solaris.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/port/sparc_solaris.h b/src/port/sparc_solaris.h index aa78ba5f6c..25746c6266 100644 --- a/src/port/sparc_solaris.h +++ b/src/port/sparc_solaris.h @@ -4,3 +4,7 @@ # define SYSV_DIRENT # define HAS_TEST_AND_SET typedef unsigned char slock_t; + +#ifndef BYTE_ORDER +#define BYTE_ORDER BIG_ENDIAN +#endif |
