diff options
author | Neil Conway <neilc@samurai.com> | 2005-03-16 00:02:39 +0000 |
---|---|---|
committer | Neil Conway <neilc@samurai.com> | 2005-03-16 00:02:39 +0000 |
commit | 963ffe4cc4a6443119837e763952afd39b2012c8 (patch) | |
tree | 17072e90754289ef91103964ae79a47ba7f84ae4 /src/backend/postmaster/fork_process.c | |
parent | 86ad33cd48360373dd29ef7d6572a2cc583c2f2e (diff) | |
download | postgresql-963ffe4cc4a6443119837e763952afd39b2012c8.tar.gz postgresql-963ffe4cc4a6443119837e763952afd39b2012c8.zip |
Wrap the implementation of fork_process() inside #ifndef WIN32 -- this
should hopefully unbreak the Win32 build. Apologies for breaking it in
the first place.
Diffstat (limited to 'src/backend/postmaster/fork_process.c')
-rw-r--r-- | src/backend/postmaster/fork_process.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/backend/postmaster/fork_process.c b/src/backend/postmaster/fork_process.c index 51aebc78bb4..4064d7ccd41 100644 --- a/src/backend/postmaster/fork_process.c +++ b/src/backend/postmaster/fork_process.c @@ -7,7 +7,7 @@ * Copyright (c) 1996-2005, PostgreSQL Global Development Group * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/postmaster/fork_process.c,v 1.2 2005/03/13 23:27:38 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/postmaster/fork_process.c,v 1.3 2005/03/16 00:02:39 neilc Exp $ */ #include "postgres.h" #include "postmaster/fork_process.h" @@ -16,6 +16,7 @@ #include <sys/time.h> #include <unistd.h> +#ifndef WIN32 /* * Wrapper for fork(). Return values are the same as those for fork(): * -1 if the fork failed, 0 in the child process, and the PID of the @@ -80,3 +81,4 @@ fork_process(void) return result; } +#endif /* ! WIN32 */ |