Fix compilation on OSX 10.3.
commit444eff62862551fd984b8173ecb174483d7dbb7b
authorNick Mathewson <nickm@torproject.org>
Fri, 20 Nov 2009 18:28:16 +0000 (20 13:28 -0500)
committerNick Mathewson <nickm@torproject.org>
Fri, 20 Nov 2009 18:28:16 +0000 (20 13:28 -0500)
treed84930a9fba4a5118a90b30049e217cc1292e65f
parent1ee580407ccb91304cf7ae24c0d809f57e6b4ccc
Fix compilation on OSX 10.3.

On this OSX version, there is a stub mlockall() function
that doesn't work, *and* the declaration for it is hidden by
an '#ifdef _P1003_1B_VISIBLE'.  This would make autoconf
successfully find the function, but our code fail to build
when no declaration was found.

This patch adds an additional test for the declaration.
ChangeLog
configure.in
src/common/compat.c