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:
mheily 2011-01-17 05:25:40 +00:00
parent 69ad7627ef
commit 4693efbbd4
2 changed files with 4 additions and 2 deletions

View File

@ -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;
};

View File

@ -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 */