#ifdef out entire file for newer Cygwin versions.
authorPeter Eisentraut
Thu, 11 Jan 2001 23:32:03 +0000 (23:32 +0000)
committerPeter Eisentraut
Thu, 11 Jan 2001 23:32:03 +0000 (23:32 +0000)
src/utils/dllinit.c

index 06fbdccc82538c49784450273bf896bb6c875802..03c07d1521cb857c766f7c33b0f11e9dfd38e637 100644 (file)
@@ -1,3 +1,6 @@
+#include 
+#if CYGWIN_VERSION_DLL_MAJOR < 1001
+
 /* dllinit.c -- Portable DLL initialization.
    Copyright (C) 1998 Free Software Foundation, Inc.
    Contributed by Mumit Khan ([email protected]).
@@ -102,3 +105,5 @@ DllMain(
    }
    return TRUE;
 }
+
+#endif /* CYGWIN_VERSION_DLL_MAJOR < 1001 */