mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-02 01:04:13 +08:00
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:
parent
5ae120af80
commit
11a521f10a
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user