[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#7879) liblmdb "mtest" programs do not build on mingw64

batterseapower@hotmail.com wrote:
> Full_Name: Max Bolingbroke
> Version: LMDB HEAD
> OS: Windows
> URL: ftp://ftp.openldap.org/incoming/max-bolingbroke-20140622.patch
> Submission from: (NULL) (
> srandom/random do not appear to be defined on mingw. The trivial patch in
> max-bolingbroke-20140622.patch simply defines these functions to the C standard
> equivalents on Windows, which lets LMDB build cleanly there.

I've committed a different change. There's no real need to use srandom over 
srand, and the fewer ifdef's the better.
> I, Maximilian Bolingbroke, hereby place the following modifications to liblmdb
> (and only these modifications) into the public domain. Hence, these
> modifications may be freely used and/or redistributed for any purpose with or
> without attribution and/or other notice.

   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/