From: Peter Eisentraut Date: Sat, 15 Aug 2020 09:23:18 +0000 (+0200) Subject: Remove obsolete cygwin.h hack X-Git-Tag: REL_14_BETA1~1823 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=53095b5fe650270118bc2ab77416d08e19472cd3;p=thirdparty%2Fpostgresql.git Remove obsolete cygwin.h hack The version being checked for is 20 years old. Reviewed-by: Marco Atzeri Discussion: https://www.postgresql.org/message-id/flat/aa266ede-baaa-f4e6-06cf-5b1737610e9a%402ndquadrant.com --- diff --git a/src/include/port/cygwin.h b/src/include/port/cygwin.h index f1fc1a93d76..64d69936e5e 100644 --- a/src/include/port/cygwin.h +++ b/src/include/port/cygwin.h @@ -1,14 +1,5 @@ /* src/include/port/cygwin.h */ -#include - -/* - * 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