projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
time_infinite const
[lttv.git]
/
ltt
/
branches
/
poly
/
ltt
/
time.h
diff --git
a/ltt/branches/poly/ltt/time.h
b/ltt/branches/poly/ltt/time.h
index 2cce27608baaf2aaecf5969cdb72efdb6caf7482..dc1cb2201bdd4b809614954b49807e1cef81075b 100644
(file)
--- a/
ltt/branches/poly/ltt/time.h
+++ b/
ltt/branches/poly/ltt/time.h
@@
-19,6
+19,8
@@
#ifndef LTT_TIME_H
#define LTT_TIME_H
#ifndef LTT_TIME_H
#define LTT_TIME_H
+#include <glib.h>
+
typedef struct _LttTime {
unsigned long tv_sec;
typedef struct _LttTime {
unsigned long tv_sec;
@@
-30,6
+32,7
@@
static const unsigned long NANOSECONDS_PER_SECOND = 1000000000;
static const LttTime ltt_time_zero = { 0, 0};
static const LttTime ltt_time_zero = { 0, 0};
+static const LttTime ltt_time_infinite = { G_MAXUINT, G_MAXUINT };
static inline LttTime ltt_time_sub(LttTime t1, LttTime t2)
{
static inline LttTime ltt_time_sub(LttTime t1, LttTime t2)
{
This page took
0.022087 seconds
and
4
git commands to generate.