projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Documentation and indentation fixes.
[bertos.git]
/
os
/
hptime.c
diff --git
a/os/hptime.c
b/os/hptime.c
index e4016d1b55ae561a886bb0e7270f4c1ac97bb780..7be9ea206c0c9428871846444b88b8e5f0ababe0 100755
(executable)
--- a/
os/hptime.c
+++ b/
os/hptime.c
@@
-1,8
+1,8
@@
-/*
!
+/*
*
* \file
* <!--
* Copyright 2003, 2004 Develer S.r.l. (http://www.develer.com/)
* \file
* <!--
* Copyright 2003, 2004 Develer S.r.l. (http://www.develer.com/)
- * This file is part of DevLib - See
devlib/README
for information.
+ * This file is part of DevLib - See
README.devlib
for information.
* -->
*
* \brief Portable abstraction for high-resolution time handling (implementation)
* -->
*
* \brief Portable abstraction for high-resolution time handling (implementation)
@@
-11,19
+11,6
@@
* \author Bernardo Innocenti <bernie@develer.com>
*/
* \author Bernardo Innocenti <bernie@develer.com>
*/
-/*
- * $Log$
- * Revision 1.3 2004/08/10 05:45:04 bernie
- * Fix spacing in header.
- *
- * 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)
#include "hptime.h"
#if defined(_WIN32)
@@
-47,7
+34,7
@@
hptime_t hptime_get(void)
return (((hptime_t)ft.dwHighDateTime) << 32) + (hptime_t)ft.dwLowDateTime;
}
return (((hptime_t)ft.dwHighDateTime) << 32) + (hptime_t)ft.dwLowDateTime;
}
-#elif defined(__unix__)
+#elif defined(__unix__)
|| (defined(__APPLE__) && defined(__MACH__))
#include <sys/time.h>
#include <sys/time.h>