Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2b7777b

Browse files
committed
cygwin doesn't have an endian.h, but defines BYTE_ORDER in sys/param.h
1 parent2119cc0 commit2b7777b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎src/backend/libpq/pqformat.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*
1616
* Copyright (c) 1994, Regents of the University of California
1717
*
18-
*$Id: pqformat.c,v 1.9 1999/09/11 22:28:05 tgl Exp $
18+
*$Id: pqformat.c,v 1.10 1999/09/12 22:27:47 scrappy Exp $
1919
*
2020
*-------------------------------------------------------------------------
2121
*/
@@ -54,6 +54,9 @@
5454
#ifdefHAVE_ENDIAN_H
5555
#include"endian.h"
5656
#endif
57+
#ifdefHAVE_SYS_PARAM_H
58+
#include<sys/param.h>
59+
#endif
5760

5861
#ifndefBYTE_ORDER
5962
#error BYTE_ORDER must be defined as LITTLE_ENDIAN, BIG_ENDIAN or PDP_ENDIAN

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp