diff options
author | Josh Blum <josh@joshknows.com> | 2012-01-17 15:48:02 -0800 |
---|---|---|
committer | Johnathan Corgan <jcorgan@corganenterprises.com> | 2012-01-17 16:23:03 -0800 |
commit | 7850d5f25168db322d76da9bc6cf3730c5d88d3e (patch) | |
tree | 0b7b7fdb40f680e1006b27cb5c888b209f0e7c49 /gruel | |
parent | 8736ac20a1a7def9a024aa9c934b7b95ffdef373 (diff) |
gruel: hrt under bsd should use clock gettime
Diffstat (limited to 'gruel')
-rw-r--r-- | gruel/src/include/gruel/high_res_timer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gruel/src/include/gruel/high_res_timer.h b/gruel/src/include/gruel/high_res_timer.h index 9be5246246..63841f6128 100644 --- a/gruel/src/include/gruel/high_res_timer.h +++ b/gruel/src/include/gruel/high_res_timer.h @@ -46,7 +46,7 @@ namespace gruel { #elif defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__) #define GRUEL_HRT_USE_MACH_ABSOLUTE_TIME #elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) - #define GRUEL_HRT_USE_MACH_ABSOLUTE_TIME + #define GRUEL_HRT_USE_CLOCK_GETTIME #else #define GRUEL_HRT_USE_MICROSEC_CLOCK #endif |