mirror of
https://github.com/postgres/postgres.git
synced 2025-11-10 17:42:29 +03:00
Win32 build cleanups, from Andrew Dunstan.
This commit is contained in:
@@ -1,7 +1,12 @@
|
||||
/* $PostgreSQL: pgsql/src/backend/port/dynloader/win32.c,v 1.3 2003/11/29 19:51:54 pgsql Exp $ */
|
||||
/* $PostgreSQL: pgsql/src/backend/port/dynloader/win32.c,v 1.4 2004/11/17 08:30:08 neilc Exp $ */
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
char *dlerror(void);
|
||||
int dlclose(void *handle);
|
||||
void *dlsym(void *handle, const char *symbol);
|
||||
void *dlopen(const char *path, int mode);
|
||||
|
||||
char *
|
||||
dlerror(void)
|
||||
{
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.439 2004/11/17 00:14:12 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.440 2004/11/17 08:30:09 neilc Exp $
|
||||
*
|
||||
* NOTES
|
||||
*
|
||||
@@ -4037,7 +4037,7 @@ win32_waitpid(int *exitstatus)
|
||||
*/
|
||||
ereport(FATAL,
|
||||
(errmsg_internal("failed to get exit code for child %lu",
|
||||
(DWORD)win32_childPIDArray[index])));
|
||||
(unsigned long) win32_childPIDArray[index])));
|
||||
}
|
||||
*exitstatus = (int) exitCode;
|
||||
return win32_childPIDArray[index];
|
||||
|
||||
Reference in New Issue
Block a user