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

Commitbf3bcb6

Browse files
author
Thomas G. Lockhart
committed
Include definitions for endian info if not in system includes.
1 parent7bdf9ba commitbf3bcb6

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

‎src/include/postgres.h

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* Copyright (c) 1995, Regents of the University of California
88
*
9-
* $Id: postgres.h,v 1.4 1997/03/14 23:31:22 scrappy Exp $
9+
* $Id: postgres.h,v 1.5 1997/07/01 00:31:10 thomas Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -204,4 +204,10 @@ typedef uint16CommandId;
204204
#defineSTATUS_BAD_PACKET(-7)
205205
#defineSTATUS_FOUND (1)
206206

207+
#if !defined(HAVE_ENDIAN_H)
208+
# defineLITTLE_ENDIAN 1
209+
# defineBIG_ENDIAN 2
210+
# definePDP_ENDIAN 3
211+
#endif
212+
207213
#endif/* POSTGRES_H */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp