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

Commit646e7f8

Browse files
committed
Do not include:
#include <pwd.h>#include <netdb.h>in MS CC/Borland builds.
1 parent9930889 commit646e7f8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎src/include/port.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,16 @@
66
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
77
* Portions Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: port.h,v 1.7 2003/06/14 14:35:42 momjian Exp $
9+
* $Id: port.h,v 1.8 2003/06/24 00:44:29 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
1313

14+
#if !defined(_MSC_VER)&& !defined(__BORLANDC__)
1415
/* for thread.c */
1516
#include<pwd.h>
1617
#include<netdb.h>
18+
#endif
1719

1820
/* Portable path handling for Unix/Win32 */
1921
boolis_absolute_path(constchar*filename);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp