Fix C++, MYMALLOC, sdbm combination.
authorCraig A. Berry <craigberry@mac.com>
Mon, 10 Sep 2012 02:27:44 +0000 (21:27 -0500)
committerCraig A. Berry <craigberry@mac.com>
Mon, 10 Sep 2012 02:27:44 +0000 (21:27 -0500)
commit86f11a3d4085bbaf2b72fce18f55bd5a0cfc46d3
treee436c71d2da5815b71e82adee7990c80a437f0cc
parent7cd83f6573da7fd1101fc83cb13867d52fea3d41
Fix C++, MYMALLOC, sdbm combination.

The prototypes for the home-grown malloc replacements were not
protected with extern "C" declarations, so linking the SDBM_File
extension failed when configuring with -Dusemymalloc=y and building
with C++.
ext/SDBM_File/sdbm/sdbm.h