libbsd: Use timespec_to_bigtime for time conversions in kqueue.
The FreeBSD manpage indicates that it will fail with EINVAL if an invalid timespec is passed.
This commit is contained in:
@@ -11,9 +11,8 @@
|
||||
#include <sys/time.h>
|
||||
#include <time.h>
|
||||
|
||||
#include <SupportDefs.h>
|
||||
#include <OS.h>
|
||||
|
||||
#include <new>
|
||||
|
||||
#define CLOCKS_PER_SEC_BEOS 1000
|
||||
#define CLK_TCK_BEOS CLOCKS_PER_SEC_BEOS
|
||||
|
||||
Reference in New Issue
Block a user