Commit 619ccdd3 authored by Ignacio Casal Quinteiro's avatar Ignacio Casal Quinteiro Committed by Howard Chu
Browse files

ITS#8270 win32: fix conversion error with MSVC

parent 9411de60
......@@ -210,6 +210,12 @@ union semun {
#define ESECT
#endif
#ifdef _MSC_VER
#define CALL_CONV WINAPI
#else
#define CALL_CONV
#endif
/** @defgroup internal LMDB Internals
* @{
*/
......@@ -8715,7 +8721,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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment