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

Commit2fa36d7

Browse files
author
Neil Conway
committed
Win32 build cleanups, from Andrew Dunstan.
1 parentffe130f commit2fa36d7

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

‎src/backend/port/dynloader/win32.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1-
/* $PostgreSQL: pgsql/src/backend/port/dynloader/win32.c,v 1.3 2003/11/29 19:51:54 pgsql Exp $ */
1+
/* $PostgreSQL: pgsql/src/backend/port/dynloader/win32.c,v 1.4 2004/11/17 08:30:08 neilc Exp $ */
22

33
#include<windows.h>
44

5+
char*dlerror(void);
6+
intdlclose(void*handle);
7+
void*dlsym(void*handle,constchar*symbol);
8+
void*dlopen(constchar*path,intmode);
9+
510
char*
611
dlerror(void)
712
{

‎src/backend/postmaster/postmaster.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
*
3838
*
3939
* IDENTIFICATION
40-
* $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.439 2004/11/1700:14:12 tgl Exp $
40+
* $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.440 2004/11/1708:30:09 neilc Exp $
4141
*
4242
* NOTES
4343
*
@@ -4037,7 +4037,7 @@ win32_waitpid(int *exitstatus)
40374037
*/
40384038
ereport(FATAL,
40394039
(errmsg_internal("failed to get exit code for child %lu",
4040-
(DWORD)win32_childPIDArray[index])));
4040+
(unsigned long)win32_childPIDArray[index])));
40414041
}
40424042
*exitstatus= (int)exitCode;
40434043
returnwin32_childPIDArray[index];

‎src/port/open.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
88
*
9-
* $PostgreSQL: pgsql/src/port/open.c,v 1.5 2004/10/1723:53:30 momjian Exp $
9+
* $PostgreSQL: pgsql/src/port/open.c,v 1.6 2004/11/1708:30:11 neilc Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -18,6 +18,8 @@
1818
#include<errno.h>
1919
#include<assert.h>
2020

21+
intwin32_open(constchar*fileName,intfileFlags, ...);
22+
2123
staticint
2224
openFlagsToCreateFileFlags(intopenFlags)
2325
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp