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

Commit5249172

Browse files
committed
typedef sa_family_t for cygwin.
1 parent94468c6 commit5249172

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎src/include/libpq/pqcomm.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
1010
* Portions Copyright (c) 1994, Regents of the University of California
1111
*
12-
* $Id: pqcomm.h,v 1.87 2003/06/23 23:51:59 momjian Exp $
12+
* $Id: pqcomm.h,v 1.88 2003/06/24 01:49:22 momjian Exp $
1313
*
1414
*-------------------------------------------------------------------------
1515
*/
@@ -47,6 +47,10 @@
4747
#define_SS_PAD2SIZE(_SS_MAXSIZE - (sizeof (sa_family_t) + \
4848
_SS_PAD1SIZE + _SS_ALIGNSIZE))
4949

50+
#ifdef__CYGWIN__
51+
typedefunsigned shortsa_family_t;
52+
#endif
53+
5054
structsockaddr_storage {
5155
#ifdefSALEN
5256
uint8_t__ss_len;/* address length */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp