1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Merge 10.5 into 10.6

This commit is contained in:
Marko Mäkelä
2021-05-26 11:22:40 +03:00
65 changed files with 1544 additions and 344 deletions

View File

@ -234,14 +234,19 @@ static void *native_event_get_userdata(native_event *event)
#elif defined(HAVE_KQUEUE)
/*
NetBSD is incompatible with other BSDs , last parameter in EV_SET macro
(udata, user data) needs to be intptr_t, whereas it needs to be void*
everywhere else.
NetBSD prior to 9.99.17 is incompatible with other BSDs, last parameter
in EV_SET macro (udata, user data) needs to be intptr_t, whereas it needs
to be void* everywhere else.
*/
#ifdef __NetBSD__
#include <sys/param.h>
# if !__NetBSD_Prereq__(9,99,17)
#define MY_EV_SET(a, b, c, d, e, f, g) EV_SET(a, b, c, d, e, f, (intptr_t)g)
#else
# endif
#endif
#ifndef MY_EV_SET
#define MY_EV_SET(a, b, c, d, e, f, g) EV_SET(a, b, c, d, e, f, g)
#endif