diff --git a/libraries/liblmdb/lmdb.h b/libraries/liblmdb/lmdb.h index b94bd2d..9540624 100644 --- a/libraries/liblmdb/lmdb.h +++ b/libraries/liblmdb/lmdb.h @@ -137,6 +137,10 @@ extern "C" { #endif +#ifdef _MSC_VER +#define mode_t int +#endif + /** @defgroup mdb MDB API * @{ * @brief OpenLDAP Lightning Memory-Mapped Database Manager