Mail Archives: cygwin/2000/10/14/16:34:41
Fixed in snapshots.
--Chuck
Clark Cooper wrote:
>
> In /usr/include/cygwin/cygwin_dll.h from Cygwin release 1.1.4, the
> DECLARE_CYGWIN_DLL macro declares:
>
> int WINAPI _cygwin_dll_entry (HANDLE h, DWORD reason, void *ptr);
>
> but defines it with:
>
> int WINAPI _cygwin_dll_entry (HINSTANCE h, DWORD reason, void *ptr) ...
>
> This leads to a fatal error due to the type mismatch on my Windows NT 4.0
> system. The following patch fixes the problem on my system
>
> *** cygwin_dll.h Thu Aug 3 20:56:59 2000
> --- d:/cygwin/usr/include/cygwin/cygwin_dll.h Thu Sep 28 12:20:31 2000
> ***************
> *** 44,50 ****
> \
> static DWORD dll_index; \
> \
> ! int WINAPI _cygwin_dll_entry (HINSTANCE h, DWORD reason, void *ptr) \
> { \
> int ret; \
> ret = 1; \
> --- 44,50 ----
> \
> static DWORD dll_index; \
> \
> ! int WINAPI _cygwin_dll_entry (HANDLE h, DWORD reason, void *ptr) \
> { \
> int ret; \
> ret = 1; \
>
> --
> Clark Cooper Software Engineer Home: coopercc AT netheaven DOT com
> Schenectady, NY USA Work: cccooper AT ltionline DOT com
>
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
- Raw text -