Skip to content

Commit 0dc9c7d

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

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
#define sigmask(sig) ( 1 << ((sig)-1) )
156156

157-
/* Signal function return values */
158-
#undef SIG_DFL
159-
#undef SIG_ERR
160-
#undef SIG_IGN
161-
#define SIG_DFL ((pqsigfunc)0)
162-
#define SIG_ERR ((pqsigfunc)-1)
163-
#define SIG_IGN ((pqsigfunc)1)
164-
165157
/* Some extra signals */
166158
#define SIGHUP 1
167159
#define SIGQUIT 3

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy