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

Commit0dc9c7d

Browse files
Remove redefinitions of SIG_* macros in win32_port.h.
It is not clear why these were originally added. One hypothesis isthat an ancient version of MinGW didn't define them. In any case,they appear to now be superfluous, so let's remove them. Ifnothing else, the buildfarm might offer us clues to their origins.Reviewed-by: Thomas MunroDiscussion:https://postgr.es/m/Z4chOKfnthRH71mw%40nathan
1 parentbf826ea commit0dc9c7d

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

‎src/include/port/win32_port.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -154,14 +154,6 @@
154154

155155
#definesigmask(sig) ( 1 << ((sig)-1) )
156156

157-
/* Signal function return values */
158-
#undef SIG_DFL
159-
#undef SIG_ERR
160-
#undef SIG_IGN
161-
#defineSIG_DFL ((pqsigfunc)0)
162-
#defineSIG_ERR ((pqsigfunc)-1)
163-
#defineSIG_IGN ((pqsigfunc)1)
164-
165157
/* Some extra signals */
166158
#defineSIGHUP1
167159
#defineSIGQUIT3

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp