mirror of
https://github.com/darlinghq/darling-libkqueue.git
synced 2024-11-27 13:40:25 +00:00
bugfix win32
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@397 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
This commit is contained in:
parent
69ad7627ef
commit
4693efbbd4
@ -137,7 +137,9 @@ struct filter {
|
||||
RB_HEAD(knt, knote) kf_knote;
|
||||
TAILQ_HEAD(, knote) kf_event; /* events that have occurred */
|
||||
struct kqueue *kf_kqueue;
|
||||
#if defined(FILTER_PLATFORM_SPECIFIC)
|
||||
FILTER_PLATFORM_SPECIFIC;
|
||||
#endif
|
||||
};
|
||||
|
||||
/* Use this to declare a filter that is not implemented */
|
||||
@ -150,7 +152,9 @@ struct kqueue {
|
||||
int kq_nfds;
|
||||
pthread_mutex_t kq_mtx;
|
||||
volatile uint32_t kq_ref;
|
||||
#if defined(KQUEUE_PLATFORM_SPECIFIC)
|
||||
KQUEUE_PLATFORM_SPECIFIC;
|
||||
#endif
|
||||
RB_ENTRY(kqueue) entries;
|
||||
};
|
||||
|
||||
|
@ -29,6 +29,4 @@
|
||||
extern long int syscall (long int __sysno, ...);
|
||||
#define THREAD_ID ((pid_t) syscall(__NR_gettid))
|
||||
|
||||
#define KQUEUE_PLATFORM_SPECIFIC //
|
||||
|
||||
#endif /* ! _KQUEUE_LINUX_PLATFORM_H */
|
||||
|
Loading…
Reference in New Issue
Block a user