mirror of https://github.com/F-Stack/f-stack.git
fix ‘__uintptr_t’ error.
This commit is contained in:
parent
64c543441e
commit
e091500c32
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue