Remove obsolete cygwin.h hack
authorPeter Eisentraut <peter@eisentraut.org>
Sat, 15 Aug 2020 09:23:18 +0000 (11:23 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Sat, 15 Aug 2020 09:27:41 +0000 (11:27 +0200)
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

index f1fc1a93d76c0e0f902b26e17f1694eb99ea7593..64d69936e5e02b25c8227031510afab035fba43f 100644 (file)
@@ -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