Commit 96055632 authored by Pekka Pessi's avatar Pekka Pessi

Added SU_NTP_C().

darcs-hash:20051018165533-65a35-b3fbfe2d1acc1be3a7d5218ce4d985cbc8caddd6.gz
parent 574830f8
...@@ -71,6 +71,9 @@ enum { ...@@ -71,6 +71,9 @@ enum {
*/ */
typedef uint64_t su_ntp_t; typedef uint64_t su_ntp_t;
/** Represent NTP consttant */
#define SU_NTP_C(x) SU_U64_C(x)
#define SU_TIME_CMP(t1, t2) \ #define SU_TIME_CMP(t1, t2) \
(long)((t1.tv_sec - t2.tv_sec != 0) ? \ (long)((t1.tv_sec - t2.tv_sec != 0) ? \
(t1.tv_sec - t2.tv_sec) : \ (t1.tv_sec - t2.tv_sec) : \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment