summaryrefslogtreecommitdiff
path: root/contrib/pgcrypto/px.h
diff options
context:
space:
mode:
authorTom Lane2007-04-06 05:36:51 +0000
committerTom Lane2007-04-06 05:36:51 +0000
commit37a609b27fcb67c28ff34d02ae3e82cd9903dd13 (patch)
tree037c29effb24f829edcf52ad172a4c0af0fcc14a /contrib/pgcrypto/px.h
parent3e23b68dac006e8deb0afa327e855258df8de064 (diff)
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 'contrib/pgcrypto/px.h')
-rw-r--r--contrib/pgcrypto/px.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/contrib/pgcrypto/px.h b/contrib/pgcrypto/px.h
index bf53ec0e65..412728e53d 100644
--- a/contrib/pgcrypto/px.h
+++ b/contrib/pgcrypto/px.h
@@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $PostgreSQL: pgsql/contrib/pgcrypto/px.h,v 1.16 2005/10/15 02:49:06 momjian Exp $
+ * $PostgreSQL: pgsql/contrib/pgcrypto/px.h,v 1.17 2007/04/06 05:36:50 tgl Exp $
*/
#ifndef __PX_H
@@ -34,13 +34,6 @@
#include <sys/types.h>
#include <sys/param.h>
-#ifdef HAVE_ENDIAN_H
-#include <endian.h>
-#endif
-
-#ifndef BYTE_ORDER
-#error BYTE_ORDER must be defined as LITTLE_ENDIAN or BIG_ENDIAN
-#endif
/* keep debug messages? */
#define PX_DEBUG