aboutsummaryrefslogtreecommitdiff
path: root/time/bits/types/struct_itimerspec.h
blob: 2f40406c2908b636f21e39f6bb2573301a5b9839 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef __itimerspec_defined
#define __itimerspec_defined 1

#include <bits/types.h>
#include <bits/types/struct_timespec.h>

/* Use the original definition for 64-bit arches
   or when 64-bit-time by default has *not* been requested */ 
#if __WORDSIZE > 32 || ! defined(__USE_TIME_BITS64)
/* POSIX.1b structure for timer start values and intervals.  */
struct itimerspec
  {
    struct timespec it_interval;
    struct timespec it_value;
  };
#else
# define itimerspec __itimerspec64
#endif

#endif