diff options
author | Nathan Bossart <nathan@postgresql.org> | 2025-01-16 20:55:24 -0600 |
---|---|---|
committer | Nathan Bossart <nathan@postgresql.org> | 2025-01-16 20:55:24 -0600 |
commit | 0dc9c7d200e59b19b2e683f78afa1ee4cfcf3c21 (patch) | |
tree | 7a64d543f074b1b6243b4b0913e82b688ce144d0 /src | |
parent | bf826ea062979da02395fb2e8961feeef47604da (diff) | |
download | postgresql-0dc9c7d200e59b19b2e683f78afa1ee4cfcf3c21.tar.gz postgresql-0dc9c7d200e59b19b2e683f78afa1ee4cfcf3c21.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/include/port/win32_port.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/include/port/win32_port.h b/src/include/port/win32_port.h index 7900272e8d1..ff7028bdc81 100644 --- a/src/include/port/win32_port.h +++ b/src/include/port/win32_port.h @@ -154,14 +154,6 @@ #define sigmask(sig) ( 1 << ((sig)-1) ) -/* Signal function return values */ -#undef SIG_DFL -#undef SIG_ERR -#undef SIG_IGN -#define SIG_DFL ((pqsigfunc)0) -#define SIG_ERR ((pqsigfunc)-1) -#define SIG_IGN ((pqsigfunc)1) - /* Some extra signals */ #define SIGHUP 1 #define SIGQUIT 3 |