Undo stupid commit made 3 months ago:
authorIan Abbott <abbotti@mev.co.uk>
Thu, 19 Mar 2009 19:24:32 +0000 (19:24 +0000)
committerIan Abbott <abbotti@mev.co.uk>
Thu, 19 Mar 2009 19:24:32 +0000 (19:24 +0000)
"Fix redefinition of macro comedi_rt_task_context_t".
It wasn't being redefined, it was being defined for RTLinux.

comedi/drivers/comedi_rt_timer.c

index ad7a17b9780810c9762dac8b1ff8b25466dbce8f..e40d684052c0f9644fd64564f12d7c3cff57858a 100644 (file)
@@ -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 <rtai.h>