fix ‘__uintptr_t’ error.

This commit is contained in:
fengbojiang 2021-10-18 19:57:01 +08:00
parent 64c543441e
commit e091500c32
1 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ extern "C" {
#endif #endif
struct kevent { struct kevent {
__uintptr_t ident; /* identifier for this event */ uintptr_t ident; /* identifier for this event */
short filter; /* filter for event */ short filter; /* filter for event */
unsigned short flags; /* action flags for kqueue */ unsigned short flags; /* action flags for kqueue */
unsigned int fflags; /* filter flag value */ unsigned int fflags; /* filter flag value */
@ -95,7 +95,7 @@ struct kevent {
#if defined(_WANT_FREEBSD11_KEVENT) #if defined(_WANT_FREEBSD11_KEVENT)
/* Older structure used in FreeBSD 11.x and older. */ /* Older structure used in FreeBSD 11.x and older. */
struct kevent_freebsd11 { struct kevent_freebsd11 {
__uintptr_t ident; /* identifier for this event */ uintptr_t ident; /* identifier for this event */
short filter; /* filter for event */ short filter; /* filter for event */
unsigned short flags; unsigned short flags;
unsigned int fflags; unsigned int fflags;