mirror of
https://github.com/postgres/postgres.git
synced 2026-04-15 22:10:45 -04:00
cygwin defines BYTE_ORDER in sys/param.h, and has no endian.h ...
This commit is contained in:
parent
805ee87b7d
commit
6592a8aaa4
1 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue