From 7cd971183c0d34ff4e6acd5d8636a094a5c524e9 Mon Sep 17 00:00:00 2001
From: Peter Eisentraut <peter_e@gmx.net>
Date: Thu, 11 Jan 2001 23:32:03 +0000
Subject: [PATCH] #ifdef out entire file for newer Cygwin versions.

---
 src/utils/dllinit.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/utils/dllinit.c b/src/utils/dllinit.c
index 06fbdccc825..03c07d1521c 100644
--- a/src/utils/dllinit.c
+++ b/src/utils/dllinit.c
@@ -1,3 +1,6 @@
+#include <cygwin/version.h>
+#if CYGWIN_VERSION_DLL_MAJOR < 1001
+
 /* dllinit.c -- Portable DLL initialization.
    Copyright (C) 1998 Free Software Foundation, Inc.
    Contributed by Mumit Khan (khan@xraylith.wisc.edu).
@@ -102,3 +105,5 @@ DllMain(
 	}
 	return TRUE;
 }
+
+#endif /* CYGWIN_VERSION_DLL_MAJOR < 1001 */
-- 
GitLab