diff options
Diffstat (limited to 'common.h')
| -rw-r--r-- | common.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/common.h b/common.h new file mode 100644 index 0000000..c93d643 --- /dev/null +++ b/common.h @@ -0,0 +1,18 @@ +/** + * based on common.h,v 1.2 2007/06/18 17:58:52 lordjaxom + * + * version by Midas + * + */ + +#ifndef VDR_BLOCK_COMMON_H +#define VDR_BLOCK_COMMON_H + +#include <stdint.h> +#include <vdr/tools.h> + +#if VDRVERSNUM >= 10318 +inline uint64_t time_ms() { return cTimeMs::Now(); } +#endif + +#endif // VDR_BLOCK_COMMON_H |
