diff options
author | dimitri staessens <[email protected]> | 2016-05-24 21:22:51 +0200 |
---|---|---|
committer | dimitri staessens <[email protected]> | 2016-05-24 21:22:51 +0200 |
commit | e5f567c7647acefa295850f5ab6ccf2c10329c44 (patch) | |
tree | 56747779db27822f750967fbc0dfaf0566b4f42d /include | |
parent | d74d67a0e2d3de0ec208ed9b839815a70d84f727 (diff) | |
download | ouroboros-e5f567c7647acefa295850f5ab6ccf2c10329c44.tar.gz ouroboros-e5f567c7647acefa295850f5ab6ccf2c10329c44.zip |
tools: fixes comments on d74d67a
Diffstat (limited to 'include')
-rw-r--r-- | include/ouroboros/time_utils.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/include/ouroboros/time_utils.h b/include/ouroboros/time_utils.h index d7274c1d..4b3f3463 100644 --- a/include/ouroboros/time_utils.h +++ b/include/ouroboros/time_utils.h @@ -23,14 +23,17 @@ #ifndef OUROBOROS_TIME_UTILS_H #define OUROBOROS_TIME_UTILS_H -#ifndef MILLION -#define MILLION 1000000L +#ifdef MILLION +#undef MILLION #endif -#ifndef BILLION -#define BILLION 1000000000L +#ifdef BILLION +#undef BILLION #endif +#define MILLION 1000000L +#define BILLION 1000000000L + #include <sys/time.h> #include <limits.h> /* LONG_MAX */ |