Updating mdb.c to use win32 calling convention.
This commit is contained in:
parent
49085de8fc
commit
80c2c4d797
1 changed files with 7 additions and 1 deletions
8
liblmdb/mdb.c
Normal file → Executable file
8
liblmdb/mdb.c
Normal file → Executable file
|
@ -189,6 +189,12 @@ typedef SSIZE_T ssize_t;
|
|||
#define ESECT
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#define CALL_CONV WINAPI
|
||||
#else
|
||||
#define CALL_CONV
|
||||
#endif
|
||||
|
||||
/** @defgroup internal LMDB Internals
|
||||
* @{
|
||||
*/
|
||||
|
@ -8437,7 +8443,7 @@ typedef struct mdb_copy {
|
|||
} mdb_copy;
|
||||
|
||||
/** Dedicated writer thread for compacting copy. */
|
||||
static THREAD_RET ESECT
|
||||
static THREAD_RET ESECT CALL_CONV
|
||||
mdb_env_copythr(void *arg)
|
||||
{
|
||||
mdb_copy *my = arg;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue