Skip to content

Commit 963ffe4

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 in the first place.
1 parent 86ad33c commit 963ffe4

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+
#ifndef WIN32
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
return result;
8283
}
84+
#endif /* ! WIN32 */

0 commit comments

Comments
 (0)