[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libmicrohttpd] syscalls name clash

From: Martin Velek
Subject: Re: [libmicrohttpd] syscalls name clash
Date: Mon, 14 Apr 2014 20:29:04 +0200


it is about using libmicrohttpd on non-POSIX enviroment. More users,
more bugs discovered, and so on. I do not insist, it is only a feature

I cannot say if there is another software affected, most of it I am
using is ANSI C or has an adaptation layer exactly from these reasons
(non standard enviroment).


On Mon, Apr 14, 2014 at 2:51 PM, Zbigniew Jędrzejewski-Szmek
<address@hidden> wrote:
> On Mon, Apr 14, 2014 at 02:29:58PM +0200, Martin Velek wrote:
>> Hello,
>> could be possible to rename all socket functions (fnctl, send, accept
>> etc) to something like MHD_FNCTL, MHD_SEND,  in further versions >
>> 0.9.34?
>> I am using lwip, gnu arm with newlib and there is a name clash for
>> fnctl. The newlib has a function named fnctl, but without
>> implementation, returning -1. The lwip has own implementation of
>> lwip_fnctl. I cannot simply define #define fnctl lwip_fnctl because it
>> would break all code using libmicrohttpd.
> Hi,
> it seems clear that the problem is in lwip, and should be fixed there. Why
> force ugly workarounds into all other software (lib痛ttpd certainly isn't
> the only thing affected), instead of fixing the error where it is?
> Zbyszek

reply via email to

[Prev in Thread] Current Thread [Next in Thread]