mdbx-windows: minor fix mdbx_free() for MDBX_WITHOUT_MSVC_CRT=ON.

Related to https://github.com/erthink/libmdbx/issues/155

Change-Id: I378d9c47b51c55e1e61bc7f6269cbc8182265870
This commit is contained in:
Leonid Yuriev 2021-05-08 12:46:30 +03:00
parent 5ae120af80
commit 11a521f10a

View File

@ -205,9 +205,7 @@ static inline void *mdbx_realloc(void *ptr, size_t bytes) {
#endif /* mdbx_realloc */
#ifndef mdbx_free
static inline void mdbx_free(void *ptr) {
return HeapFree(GetProcessHeap(), 0, ptr);
}
static inline void mdbx_free(void *ptr) { HeapFree(GetProcessHeap(), 0, ptr); }
#endif /* mdbx_free */
#else /* MDBX_WITHOUT_MSVC_CRT */