mirror of
https://github.com/isar/libmdbx.git
synced 2025-08-25 21:54:28 +08:00
mdbx-windows: rework mdbx_memalign_alloc()/mdbx_memalign_free() to avoid dependency from CRT.
11 of 17 for https://github.com/leo-yuriev/libmdbx/issues/43 Change-Id: Id1a76f88588251cab9a93aa9753021b30159b09a
This commit is contained in:
@@ -439,8 +439,12 @@ static __inline int mdbx_get_errno(void) {
|
||||
return rc;
|
||||
}
|
||||
|
||||
#ifndef mdbx_memalign_alloc
|
||||
int mdbx_memalign_alloc(size_t alignment, size_t bytes, void **result);
|
||||
#endif
|
||||
#ifndef mdbx_memalign_free
|
||||
void mdbx_memalign_free(void *ptr);
|
||||
#endif
|
||||
|
||||
int mdbx_condmutex_init(mdbx_condmutex_t *condmutex);
|
||||
int mdbx_condmutex_lock(mdbx_condmutex_t *condmutex);
|
||||
|
Reference in New Issue
Block a user