diff options
author | Alexander Krutwig <alexander.krutwig@embedded-brains.de> | 2015-04-20 11:08:22 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-05-20 08:40:29 +0200 |
commit | 31be41653a659a52460734cb8fe1da27e6d5629e (patch) | |
tree | 098c18a376b2f180a719af07406aaadf275b3716 /cpukit/score/include/sys/timetc.h | |
parent | timecounter: Honor FFCLOCK define (diff) | |
download | rtems-31be41653a659a52460734cb8fe1da27e6d5629e.tar.bz2 |
timecounter: Port to RTEMS
New test sptests/timecounter01.
Update #2271.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/include/sys/timetc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/score/include/sys/timetc.h b/cpukit/score/include/sys/timetc.h index 9d269a780b..88e90dedac 100644 --- a/cpukit/score/include/sys/timetc.h +++ b/cpukit/score/include/sys/timetc.h @@ -12,9 +12,11 @@ #ifndef _SYS_TIMETC_H_ #define _SYS_TIMETC_H_ +#ifndef __rtems__ #ifndef _KERNEL #error "no user-serviceable parts inside" #endif +#endif /* __rtems__ */ /*- * `struct timecounter' is the interface between the hardware which implements |