X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fos%2Fhptime.h;h=d7699d0e5f11875b1d23b5eec449a01539446449;hb=369b505bc0aed841c8e7452f2be09a95900885db;hp=0592bd3beadb212f1e40f5bbe3c5a617cb366b7d;hpb=4cc44c9888a0336b9d01121ec0b7ad95f4a76195;p=bertos.git diff --git a/bertos/os/hptime.h b/bertos/os/hptime.h index 0592bd3b..d7699d0e 100644 --- a/bertos/os/hptime.h +++ b/bertos/os/hptime.h @@ -45,6 +45,7 @@ extern "C" { /** our type for "high precision absolute time" */ typedef __int64 hptime_t; + #define SIZEOF_HPTIME_T 8 #define HPTIME_TICKS_PER_SECOND (10000000I64) #define HPTIME_TICKS_PER_MILLISEC (10000I64) @@ -63,6 +64,7 @@ extern "C" { /** Type for "high precision absolute time". */ typedef int64_t hptime_t; + #define SIZEOF_HPTIME_T 8 #define HPTIME_TICKS_PER_SECOND (1000000LL) #define HPTIME_TICKS_PER_MILLISEC (1000LL)