Bruno Haible writes:
> Indeed. On mingw, there is a definition of mprotect in libgcc.a !
>
> This fixes it:
Indeed, thanks.
/Simon
Simon Josefsson wrote:
> The zerosize_ptr stuff doesn't seem to work on MinGW:
>
> rm -rf m; gnulib-tool --dir m --create-testdir --with-tests memchr; cd m;
> ./configure --host=i586-mingw32msvc --build=i686-pc-linux-gnu ; make check
>
> In file included from test-memchr.c:25:
> zerosize-ptr.h:2
The zerosize_ptr stuff doesn't seem to work on MinGW:
rm -rf m; gnulib-tool --dir m --create-testdir --with-tests memchr; cd m;
./configure --host=i586-mingw32msvc --build=i686-pc-linux-gnu ; make check
In file included from test-memchr.c:25:
zerosize-ptr.h:27:23: error: sys/mman.h: No such file