[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#8338) LMDB build fail by using MinGW
ray2501@gmail.com wrote:
> Full_Name: Danilo Chang
> Version:
> OS: Windows 7
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (61.66.209.161)
>
>
> ITS#8324 "incremental DB file growth for Windows add APIs" add APIs defined in
> <wdm.h> and <ntifs.h> but not define NTSTATUS type in LMDB mdb.c, result in
> build fail by using MinGW or MinGW-w64.
>
> Please add NTSTATUS type definition in LMDB mdb.c.
>
> Below is a quick fix:
> typedef LONG NTSTATUS;
>
>
Seems you have a very old version of MinGW. Builds fine for me using MSYS2 as
well as MSYS.
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/