1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-09 17:03:00 +03:00

cygwin defines BYTE_ORDER in sys/param.h, and has no endian.h ...

This commit is contained in:
Marc G. Fournier
1999-09-12 22:25:32 +00:00
parent 805ee87b7d
commit 6592a8aaa4

View File

@@ -15,7 +15,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: pqformat.c,v 1.4 1999/05/25 16:09:02 momjian Exp $
* $Id: pqformat.c,v 1.4.2.1 1999/09/12 22:25:32 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
@@ -54,6 +54,9 @@
#ifdef HAVE_ENDIAN_H
#include <endian.h>
#endif
#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
#endif
#ifndef BYTE_ORDER
#error BYTE_ORDER must be defined as LITTLE_ENDIAN, BIG_ENDIAN or PDP_ENDIAN