mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
ITS#8270 win32: fix conversion error with MSVC
This commit is contained in:
parent
9411de60d2
commit
619ccdd3da
1 changed files with 7 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue