X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=os%2Fhptime.c;h=7be9ea206c0c9428871846444b88b8e5f0ababe0;hb=6c1e871a96baf4245a04f0135d00fbea59af041c;hp=3f223c634d099d0684ba240faa66cc50716646fc;hpb=96f0ef786b54356c56cc3d4e4f0838df2505cfcc;p=bertos.git diff --git a/os/hptime.c b/os/hptime.c index 3f223c63..7be9ea20 100755 --- a/os/hptime.c +++ b/os/hptime.c @@ -1,8 +1,8 @@ -/*! +/** * \file * * * \brief Portable abstraction for high-resolution time handling (implementation) @@ -11,16 +11,6 @@ * \author Bernardo Innocenti */ -/* - * $Log$ - * Revision 1.2 2004/06/03 11:27:09 bernie - * Add dual-license information. - * - * Revision 1.1 2004/06/03 09:01:06 bernie - * Import into DevLib. - * - */ - #include "hptime.h" #if defined(_WIN32) @@ -44,7 +34,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