FS-6294 DragonFly requires this also.

This commit is contained in:
Brian West 2014-03-20 13:08:30 -05:00
parent ef781af3cd
commit 74ab9515a4
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
Thu Mar 20 08:00:42 CDT 2014
Thu Mar 20 13:08:14 CDT 2014

View File

@ -51,7 +51,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(HAVE_INTTYPES_H) && !defined(__OpenBSD__) && !defined(__FreeBSD__) && !defined(__darwin__) && !defined(__APPLE__)
#if defined(HAVE_INTTYPES_H) && !defined(__OpenBSD__) && !defined(__FreeBSD__) && !defined(__darwin__) && !defined(__APPLE__) && !defined(__DragonFly__)
#define INT_TO_UDATA(x) ((intptr_t)(x))
#else
#define INT_TO_UDATA(x) ((void*)(intptr_t)(x))