projects
/
debian
/
gnuradio
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec0fcd9
)
From my reading, we should never need to define the timespec struct (so we will wait...
author
Tom Rondeau
<trondeau@vt.edu>
Wed, 30 Jun 2010 01:12:33 +0000
(21:12 -0400)
committer
Tom Rondeau
<trondeau@vt.edu>
Wed, 30 Jun 2010 01:12:33 +0000
(21:12 -0400)
gr-qtgui/src/lib/highResTimeFunctions.h
patch
|
blob
|
history
diff --git
a/gr-qtgui/src/lib/highResTimeFunctions.h
b/gr-qtgui/src/lib/highResTimeFunctions.h
index dc5e1bb801068ffdb0423e0541c4c43c2aa38932..251bbad8b1cb414908e0636e668ed7ea706e54f2 100644
(file)
--- 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)