Ignore:
Timestamp:
2021-10-12T10:35:42+13:00 (3 years ago)
Author:
davidb
Message:

On Windows 64-bit using VisualStudio it was found that malloc was not being explicitly externed, leading to the compiling thinking it returned an 'int' not a pointer to a memory location. The cascading affect of this was to result in binaries being produced that crashed when trying to do something as simple as call gdbm_open(). Fix is to explcilty specify #include <malloc.h>, coded in an 'autoconf' friendly way. Currently only the windows/autoconf.h explicitly defines HAVE_MALLOC to 1

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.