It seems MHD_USE_ERROR_LOG was removed on release 0.9.52.
cd /tmp
wget -c http://ftpmirror.gnu.org/libmicrohttpd/libmicrohttpd-0.9.52.tar.gz
tar -zxvf libmicrohttpd-0.9.52.tar.gz
cd libmicrohttpd-0.9.52/
# find text "MHD_USE_ERROR_LOG" in files recursively
grep -nHIirF --include=*.h -- MHD_USE_ERROR_LOG
# result: empty :-(
# find text "MHD_USE_EPOLL_INTERNALLY" in files recursively
# result:
grep -nHIirF --include=*.h -- MHD_USE_EPOLL_INTERNALLY
src/include/microhttpd.h:634: MHD_USE_EPOLL_INTERNALLY =
MHD_USE_SELECT_INTERNALLY | MHD_USE_EPOLL,
src/include/microhttpd.h:637:#define MHD_USE_EPOLL_INTERNALLY_LINUX_ONLY \
src/include/microhttpd.h:638: _MHD_DEPR_IN_MACRO("Value
MHD_USE_EPOLL_INTERNALLY_LINUX_ONLY is deprecated, use
MHD_USE_EPOLL_INTERNALLY") \
src/include/microhttpd.h:639: MHD_USE_EPOLL_INTERNALLY
src/include/microhttpd.h:2792: * #MHD_USE_EPOLL_INTERNALLY can be used.
On Tue, Jan 31, 2017 at 8:58 AM, Christian Grothoff <[email protected]>
wrote:
> On 01/31/2017 05:27 AM, silvioprog wrote:
> > On Mon, Jan 30, 2017 at 5:38 PM, Evgeny Grin <[email protected]
> > <mailto:[email protected]>> wrote:
> >
> > No. Those flags are not removed. Do you have problems with it?
> >
> > --
> > Best Wishes,
> > Evgeny Grin
> >
> >
> > Yes, I do. My MHD version: 0.9.52. Problem: "error: ‘MHD_USE_ERROR_LOG’
> > undeclared". But it compiles fine with other flags
> > like MHD_USE_EPOLL_INTERNALLY, MHD_SUPPRESS_DATE_NO_CLOCK. Strange. :S
>
> Indeed, strange. MHD_USE_ERROR_LOG continues to be defined in the
> header, and we have no plans to remove it either.
>
--
Silvio Clécio