From 8c55d94d3839fc0a192acd6a39999ee5f589221e Mon Sep 17 00:00:00 2001 From: Tom Rondeau Date: Tue, 29 Jun 2010 21:12:33 -0400 Subject: [PATCH] From my reading, we should never need to define the timespec struct (so we will wait until this bites me). --- gr-qtgui/src/lib/highResTimeFunctions.h | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/gr-qtgui/src/lib/highResTimeFunctions.h b/gr-qtgui/src/lib/highResTimeFunctions.h index dc5e1bb8..251bbad8 100644 --- a/gr-qtgui/src/lib/highResTimeFunctions.h +++ b/gr-qtgui/src/lib/highResTimeFunctions.h @@ -264,16 +264,7 @@ get_highres_clock(struct timespec* ret) #else -// Test to see if timespec is defined; if not, define it here -#if !defined __timespec_defined -typedef struct _timespec -{ - long int tv_sec; - long int tv_nsec; -} timespec; -#endif - -// Trick the system into thinking it has an nsec timer +// Trick timer functions into thinking it has an nsec timer // but only use the low resolution (usec) timer. static inline void get_highres_clock(struct timespec* ret) -- 2.47.2