From: Ian Abbott Date: Thu, 19 Mar 2009 19:24:32 +0000 (+0000) Subject: Undo stupid commit made 3 months ago: X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d6d99f6b8005784321306b8740e5f278a992baeb;p=comedi.git Undo stupid commit made 3 months ago: "Fix redefinition of macro comedi_rt_task_context_t". It wasn't being redefined, it was being defined for RTLinux. --- diff --git a/comedi/drivers/comedi_rt_timer.c b/comedi/drivers/comedi_rt_timer.c index ad7a17b9..e40d6840 100644 --- a/comedi/drivers/comedi_rt_timer.c +++ b/comedi/drivers/comedi_rt_timer.c @@ -104,6 +104,8 @@ static inline RTIME nano2count(long long ns) #define start_rt_timer(x) #define stop_rt_timer() +#define comedi_rt_task_context_t int + #endif #ifdef CONFIG_COMEDI_RTAI #include