[Top][All Lists]

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

Re: [lwip-devel] unix port build failure

From: address@hidden
Subject: Re: [lwip-devel] unix port build failure
Date: Wed, 8 Mar 2017 20:00:44 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2

Axel Lin wrote:
I got below build failure:
../../../../lwip/src/api/api_lib.c:903:21: error: ‘INT_MAX’ undeclared
(first use in this function)
    } else if (size > INT_MAX) {

Hmm, I missed that as it works on win32 and INT_MAX is used as default for RECV_BUFSIZE_DEFAULT in opt.h. However, it turns out we haven't included limits.h anywhere...

Thanks for reporting!


reply via email to

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