On Mon, Dec 7, 2015 at 1:57 PM, Selva Nair <selva.n...@gmail.com> wrote:

> When pushed to a corner anything is possible...
>
> It turns out that libws2_32 exports all the required function names
> without any mangling (as if cdecl). Not sure this is mingw32 speciifc or
> not. Also unlike I wrote inet_ntop is not redefined, its InetNtopA that is
> redfined. Though Microsoft docs appears to indicate as if InetNtopA is the
> actual name.
>
> What it means is that a simple check without my much hated macro should be
> possible. I'll post a version 2 tonight.
>

However, that's true only for 64 bit targets.  For 32 bit targets the
stdcall names are mangled, as usual, with @NN.

In other words, no version 2, for now.

Thanks,

Selva

Reply via email to