namespace sanity: TIMER_RELTIME is _NETBSD_SOURCE only
This commit is contained in:
parent
109046eebe
commit
643809db9f
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: time.h,v 1.63 2009/01/11 02:45:56 christos Exp $ */
|
/* $NetBSD: time.h,v 1.64 2009/03/27 11:06:26 drochner Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1982, 1986, 1993
|
* Copyright (c) 1982, 1986, 1993
|
||||||
|
@ -251,7 +251,9 @@ struct itimerspec {
|
||||||
#define CLOCK_PROF 2
|
#define CLOCK_PROF 2
|
||||||
#define CLOCK_MONOTONIC 3
|
#define CLOCK_MONOTONIC 3
|
||||||
|
|
||||||
|
#if defined(_NETBSD_SOURCE)
|
||||||
#define TIMER_RELTIME 0x0 /* relative timer */
|
#define TIMER_RELTIME 0x0 /* relative timer */
|
||||||
|
#endif
|
||||||
#define TIMER_ABSTIME 0x1 /* absolute timer */
|
#define TIMER_ABSTIME 0x1 /* absolute timer */
|
||||||
|
|
||||||
#ifdef _KERNEL
|
#ifdef _KERNEL
|
||||||
|
|
Loading…
Reference in New Issue