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

Commitfa1f0d7

Browse files
committed
PGDLLIMPORT-ify MainLWLockArray, ProcDiePending, proc_exit_inprogress.
These are needed in HEAD to make assorted contrib modules build on Windows.Now that all the MSVC and Mingw buildfarm members seem to be on the samepage about the need for them, we can have some confidence that futureproblems of this ilk will be detected promptly; there seems nothing moreto be learned by delaying this fix further.I chose to mark QueryCancelPending as well, since it's easy to imagine codethat wants to touch ProcDiePending also caring about QueryCancelPending.
1 parenta1c8027 commitfa1f0d7

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

‎src/include/miscadmin.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@
7474
/* in globals.c */
7575
/* these are marked volatile because they are set by signal handlers: */
7676
externPGDLLIMPORTvolatileboolInterruptPending;
77-
externvolatileboolQueryCancelPending;
78-
externvolatileboolProcDiePending;
77+
externPGDLLIMPORTvolatileboolQueryCancelPending;
78+
externPGDLLIMPORTvolatileboolProcDiePending;
7979

8080
externvolatileboolClientConnectionLost;
8181

‎src/include/storage/ipc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ typedef void (*shmem_startup_hook_type) (void);
6262

6363

6464
/* ipc.c */
65-
externboolproc_exit_inprogress;
65+
externPGDLLIMPORTboolproc_exit_inprogress;
6666

6767
externvoidproc_exit(intcode) __attribute__((noreturn));
6868
externvoidshmem_exit(intcode);

‎src/include/storage/lwlock.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ typedef union LWLockPadded
8080
LWLocklock;
8181
charpad[LWLOCK_PADDED_SIZE];
8282
}LWLockPadded;
83-
externLWLockPadded*MainLWLockArray;
83+
externPGDLLIMPORTLWLockPadded*MainLWLockArray;
8484

8585
/*
8686
* Some commonly-used locks have predefined positions within MainLWLockArray;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp