Full_Name: Crt Vavros Version: 0.9.70 OS: Windows 10 URL: ftp://ftp.openldap.org/incoming/ Submission from: (NULL) (89.142.169.104)
This patch updates LMDB library code to compile under windows UWP platform. The patch was made against mdb.master branch [4bc270a2c] (21.12.2016). Note that the code was not modified much, merely additional code was added to existing one. The code had to be adapted to compile under C++ standards (LMDB lib cannot be compiled as C code under UWP platform). This is handled via "TC" macro which casts "raw type" to appropriate type when compiling library under C++, it should do nothing when compiling as C code.
The test github repo can be found at https://github.com/ZeroPass/lmdb (Note that this port is not made aginst the latest commit)
Patch was uploaded to ftp.openldap.org/incoming