postgres.git / summary / log / commit / refs

commit    53095b5fe650270118bc2ab77416d08e19472cd3
Author:   Peter Eisentraut <peter@eisentraut.org>
Date:     Sat Aug 15 09:23:18 2020 +0000
First released in: 14.0

    Remove obsolete cygwin.h hack
    
    The version being checked for is 20 years old.
    
    Reviewed-by: Marco Atzeri <marco.atzeri@gmail.com>
    Discussion: https://www.postgresql.org/message-id/flat/aa266ede-baaa-f4e6-06cf-5b1737610e9a%402ndquadrant.com


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 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 <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 [parent: bacda6a327ef]