Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 7cd9711

Browse files
committed
#ifdef out entire file for newer Cygwin versions.
1 parent 9b19224 commit 7cd9711

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/utils/dllinit.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#include <cygwin/version.h>
2+
#if CYGWIN_VERSION_DLL_MAJOR < 1001
3+
14
/* dllinit.c -- Portable DLL initialization.
25
Copyright (C) 1998 Free Software Foundation, Inc.
36
Contributed by Mumit Khan (khan@xraylith.wisc.edu).
@@ -102,3 +105,5 @@ DllMain(
102105
}
103106
return TRUE;
104107
}
108+
109+
#endif /* CYGWIN_VERSION_DLL_MAJOR < 1001 */

0 commit comments

Comments
 (0)