mdbx-build: rearrange source files, rework CMakeLists.txt and refine GNUMakefile (squashed).

Change-Id: Id73d346695011dab2f670bb9e6293a1e5a1835ca
This commit is contained in:
Leonid Yuriev
2020-04-15 17:09:37 +03:00
parent f414876e99
commit 971f924c44
33 changed files with 607 additions and 926 deletions

View File

@@ -14,6 +14,8 @@
#include "test.h"
#if !(defined(_WIN32) || defined(_WIN64))
#include <pthread.h>
#include <signal.h>
#include <sys/mman.h>
@@ -529,3 +531,5 @@ std::string osal_tempdir(void) {
int osal_removefile(const std::string &pathname) {
return unlink(pathname.c_str()) ? errno : MDBX_SUCCESS;
}
#endif /* !Windows */