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

Commit963ffe4

Browse files
author
Neil Conway
committed
Wrap the implementation of fork_process() inside #ifndef WIN32 -- this
should hopefully unbreak the Win32 build. Apologies for breaking it inthe first place.
1 parent86ad33c commit963ffe4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎src/backend/postmaster/fork_process.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Copyright (c) 1996-2005, PostgreSQL Global Development Group
88
*
99
* IDENTIFICATION
10-
* $PostgreSQL: pgsql/src/backend/postmaster/fork_process.c,v 1.2 2005/03/13 23:27:38 tgl Exp $
10+
* $PostgreSQL: pgsql/src/backend/postmaster/fork_process.c,v 1.3 2005/03/16 00:02:39 neilc Exp $
1111
*/
1212
#include"postgres.h"
1313
#include"postmaster/fork_process.h"
@@ -16,6 +16,7 @@
1616
#include<sys/time.h>
1717
#include<unistd.h>
1818

19+
#ifndefWIN32
1920
/*
2021
* Wrapper for fork(). Return values are the same as those for fork():
2122
* -1 if the fork failed, 0 in the child process, and the PID of the
@@ -80,3 +81,4 @@ fork_process(void)
8081

8182
returnresult;
8283
}
84+
#endif/* ! WIN32 */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp