diff options
Diffstat (limited to 'src/account/macros.h')
-rw-r--r-- | src/account/macros.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/account/macros.h b/src/account/macros.h index 9428c86..1e33aa9 100644 --- a/src/account/macros.h +++ b/src/account/macros.h @@ -11,5 +11,7 @@ /* convert days to microseconds */ #define DAYSTOMS(days) ((days) * 86400000000) +#define MSTODAYS(ms) ((ms) / 86400000000) +#define STOMS(s) ((s) * 1000000) #endif |