Hi All,
I have discovered, that the reason is the collision between the name of
the field "halt" in the
miniport_char structure and the macro "halt" defined somewhere else.
I have modified the name of the field from "halt" to "xhalt", and now
ndiswrapper compiles
cleanly.
Below is the output from the diff (as you can see, only two files are
affected - wrapper.c and ndis.h):


wrapper.c
282c282
<       TRACEENTER1("driver halt is at %p", miniport->halt);
---
>       TRACEENTER1("driver halt is at %p", miniport->xhalt);
286c286
<       LIN2WIN1(miniport->halt, handle->adapter_ctx);
---
>       LIN2WIN1(miniport->xhalt, handle->adapter_ctx);

ndis.h
270c270
<       void (*halt)(void *ctx) STDCALL;
---
>       void (*xhalt)(void *ctx) STDCALL;
-- 
HTH & regards, Wojtek Zabolotny
[EMAIL PROTECTED]



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to