/* * Copyright 2017 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted only as authorized by the OpenLDAP * Public License. * * A copy of this license is available in the file LICENSE in the * top-level directory of the distribution or, alternatively, at * . */ #pragma once #ifndef NOMINMAX #define NOMINMAX #endif #if defined(_WIN32) || defined(_WIN64) || defined(_WINDOWS) /* If you wish to build your application for a previous Windows platform, * include WinSDKVer.h and set the _WIN32_WINNT macro to the platform you * wish to support before including SDKDDKVer.h. * * TODO: #define _WIN32_WINNT WIN32_MUSTDIE */ #include #endif /* WINDOWS */ #include #include #include #include #include #include #if defined(_WIN32) || defined(_WIN64) || defined(_WINDOWS) #else #include #include #endif #ifdef _BSD_SOURCE #include #endif #include #include #include // for PRId64, PRIu64 #include #include #include #include #include #include #include #include #include #include #include #ifdef _MSC_VER #include #endif #if defined(__i386__) || defined(__x86_64__) #include #endif #include "../mdbx.h" #include "../src/defs.h"