提交 2b7777bf 编写于 作者: M Marc G. Fournier

cygwin doesn't have an endian.h, but defines BYTE_ORDER in sys/param.h
上级 2119cc06
......@@ -15,7 +15,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: pqformat.c,v 1.9 1999/09/11 22:28:05 tgl Exp $
* $Id: pqformat.c,v 1.10 1999/09/12 22:27:47 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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册