0002-Remove-obsolete-cygwin.h-hack.patch
text/plain
Filename: 0002-Remove-obsolete-cygwin.h-hack.patch
Type: text/plain
Part: 1
Message:
remove some ancient port hacks
Patch
Format: format-patch
Series: patch 0002
Subject: Remove obsolete cygwin.h hack
| File | + | − |
|---|---|---|
| src/include/port/cygwin.h | 0 | 9 |
From 71a0e828454f2c473c65824cfdbf6a14640ffcf6 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut <peter@eisentraut.org> Date: Wed, 12 Aug 2020 09:09:02 +0200 Subject: [PATCH 2/2] Remove obsolete cygwin.h hack The version being checked for is 20 years old. --- src/include/port/cygwin.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/include/port/cygwin.h b/src/include/port/cygwin.h index f1fc1a93d7..64d69936e5 100644 --- a/src/include/port/cygwin.h +++ b/src/include/port/cygwin.h @@ -1,14 +1,5 @@ /* src/include/port/cygwin.h */ -#include <cygwin/version.h> - -/* - * Check for b20.1 and disable AF_UNIX family socket support. - */ -#if CYGWIN_VERSION_DLL_MAJOR < 1001 -#undef HAVE_UNIX_SOCKETS -#endif - #ifdef BUILDING_DLL #define PGDLLIMPORT __declspec (dllexport) #else -- 2.28.0