X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=os%2Fhptime.c;h=33427e6b89c2c094c78c8ccd838ff972c9c6804d;hb=166a481f3faddfa24e3f0e9149a56d8d1e2baefd;hp=07b0a30fd4a3eedc9ce66895002e6427705b7974;hpb=f4a24c811a668a072b6688bcdfcd927529977b26;p=bertos.git diff --git a/os/hptime.c b/os/hptime.c index 07b0a30f..33427e6b 100755 --- a/os/hptime.c +++ b/os/hptime.c @@ -1,8 +1,8 @@ -/*! +/** * \file * * * \brief Portable abstraction for high-resolution time handling (implementation) @@ -10,14 +10,6 @@ * \version $Id$ * \author Bernardo Innocenti */ - -/* - * $Log$ - * Revision 1.1 2004/06/03 09:01:06 bernie - * Import into DevLib. - * - */ - #include "hptime.h" #if defined(_WIN32) @@ -41,7 +33,7 @@ hptime_t hptime_get(void) return (((hptime_t)ft.dwHighDateTime) << 32) + (hptime_t)ft.dwLowDateTime; } -#elif defined(__unix__) +#elif defined(__unix__) || (defined(__APPLE__) && defined(__MACH__)) #include