tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Incompatible definition of "struct kevent" in "sys/event.h"
Hello,
"struct kevent" as defined in "sys/event.h" looks like this:
struct kevent {
[...]
intptr_t udata; /* opaque user data identifier */
};
The problem is that FreeBSD, OpenBSD and Darwin all define "udata"
as "void". This causes problems in e.g. the "libtorrent" package.
This is a deliberate change in NetBSD:
----------------------------
revision 1.1.1.1.2.11
date: 2002/10/02 19:09:36; author: jdolecek; state: Exp; lines: +2 -2
make 'udata' field of struct kevent intptr_t (was 'void *')
----------------------------
Does anybody know why this incompatibility was invented?
Kind regards
--
Matthias Scheler http://zhadum.org.uk/
Home |
Main Index |
Thread Index |
Old Index