diff options
author | Bruce Momjian <bruce@momjian.us> | 2004-10-18 16:24:40 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2004-10-18 16:24:40 +0000 |
commit | 0060b3c8eb66bbcfb11e763bb33dcc08857370d2 (patch) | |
tree | 93f4969ace18bb0670dac96deeda5b0f580f1db5 /src/include/miscadmin.h | |
parent | a9a2c394b83bb203544dd739dee4a7281e204a33 (diff) | |
download | postgresql-0060b3c8eb66bbcfb11e763bb33dcc08857370d2.tar.gz postgresql-0060b3c8eb66bbcfb11e763bb33dcc08857370d2.zip |
The attached patch fixes psql's win32 frontend-only build, by using
pg_strcasecmp in variables.c, and #ifdef'ing out PostmasterPid in
miscadmin.h.
Dave Page
Diffstat (limited to 'src/include/miscadmin.h')
-rw-r--r-- | src/include/miscadmin.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/miscadmin.h b/src/include/miscadmin.h index c09bfe33231..14507d729b1 100644 --- a/src/include/miscadmin.h +++ b/src/include/miscadmin.h @@ -13,7 +13,7 @@ * Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/miscadmin.h,v 1.169 2004/10/09 23:13:14 tgl Exp $ + * $PostgreSQL: pgsql/src/include/miscadmin.h,v 1.170 2004/10/18 16:24:40 momjian Exp $ * * NOTES * some of the information in this file should be moved to other files. @@ -120,7 +120,9 @@ do { \ /* * from utils/init/globals.c */ +#ifndef WIN32_CLIENT_ONLY extern pid_t PostmasterPid; +#endif extern bool IsPostmasterEnvironment; extern bool IsUnderPostmaster; |