summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut2020-08-15 09:23:18 +0000
committerPeter Eisentraut2020-08-15 09:27:41 +0000
commit53095b5fe650270118bc2ab77416d08e19472cd3 (patch)
treec26b0a169a7dee465ecaf48684bfcf0cae8d7737
parentbacda6a327efb820d0e9f3262b81e803b2d5702b (diff)
Remove obsolete cygwin.h hack
The version being checked for is 20 years old. Reviewed-by: Marco Atzeri <[email protected]> Discussion: https://www.postgresql.org/message-id/flat/aa266ede-baaa-f4e6-06cf-5b1737610e9a%402ndquadrant.com
-rw-r--r--src/include/port/cygwin.h9
1 files changed, 0 insertions, 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