From: Ed Schouten Date: Tue, 25 Aug 2015 21:31:07 +0000 (+0200) Subject: Assume that ke_udata is an integer type on CloudABI. X-Git-Tag: release-2.1.6-beta~90^2~44^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5602e451ce872d7d60c640590113c5a81c3fc389;p=libevent Assume that ke_udata is an integer type on CloudABI. --- diff --git a/kqueue.c b/kqueue.c index aa2dcb7b..1f41b5a7 100644 --- a/kqueue.c +++ b/kqueue.c @@ -50,7 +50,7 @@ /* Some platforms apparently define the udata field of struct kevent as * intptr_t, whereas others define it as void*. There doesn't seem to be an * easy way to tell them apart via autoconf, so we need to use OS macros. */ -#if defined(EVENT__HAVE_INTTYPES_H) && !defined(__OpenBSD__) && !defined(__FreeBSD__) && !defined(__darwin__) && !defined(__APPLE__) +#if defined(EVENT__HAVE_INTTYPES_H) && !defined(__OpenBSD__) && !defined(__FreeBSD__) && !defined(__darwin__) && !defined(__APPLE__) && !defined(__CloudABI__) #define PTR_TO_UDATA(x) ((intptr_t)(x)) #define INT_TO_UDATA(x) ((intptr_t)(x)) #else