Commit in projects/lcdd/branches/v05-00-00-dev/include/lcdd/util on MAIN | |||
TimerUtil.hh | +1 | -1 | 3295 -> 3296 |
fix for MacOS
--- projects/lcdd/branches/v05-00-00-dev/include/lcdd/util/TimerUtil.hh 2014-09-03 08:07:56 UTC (rev 3295) +++ projects/lcdd/branches/v05-00-00-dev/include/lcdd/util/TimerUtil.hh 2014-09-03 12:57:56 UTC (rev 3296) @@ -8,7 +8,7 @@
#include <mach/mach_time.h> #define CLOCK_REALTIME 0 #define CLOCK_MONOTONIC 0
-int clock_gettime(int clk_id, struct timespec *t){
+inline int clock_gettime(int clk_id, struct timespec *t){
mach_timebase_info_data_t timebase; mach_timebase_info(&timebase); uint64_t time;
Use REPLY-ALL to reply to list
To unsubscribe from the LCDET-SVN list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=LCDET-SVN&A=1