diff options
author | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2007-05-05 02:15:11 +0000 |
---|---|---|
committer | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2007-05-05 02:15:11 +0000 |
commit | 750c2aa1d078b97c222ebe54da350dd8bf24de82 (patch) | |
tree | 8057070d790d4738b0145430b88557c6236a2456 /hrtimer.h | |
parent | 7df5970ca2b1776fb7a5c246e073187e31b465e4 (diff) | |
download | cryptopp-750c2aa1d078b97c222ebe54da350dd8bf24de82.tar.gz |
fix compile with Sun CC
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@358 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'hrtimer.h')
-rw-r--r-- | hrtimer.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -2,6 +2,9 @@ #define CRYPTOPP_HRTIMER_H #include "config.h" +#ifndef HIGHRES_TIMER_AVAILABLE +#include <time.h> +#endif NAMESPACE_BEGIN(CryptoPP) @@ -12,7 +15,6 @@ NAMESPACE_BEGIN(CryptoPP) typedef word32 TimerWord; #endif #else - #include <time.h> typedef clock_t TimerWord; #endif |