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.cpp | |
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.cpp')
-rw-r--r-- | hrtimer.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/hrtimer.cpp b/hrtimer.cpp index 2496774..71c5492 100644 --- a/hrtimer.cpp +++ b/hrtimer.cpp @@ -86,12 +86,8 @@ TimerWord Timer::TicksPerSecond() return freq.QuadPart; #elif defined(CRYPTOPP_UNIX_AVAILABLE) return 1000000; -#elif defined(CLOCKS_PER_SEC) - return CLOCKS_PER_SEC; -#elif defined(CLK_TCK) - return CLK_TCK; #else - return 1000000; + return CLOCKS_PER_SEC; #endif } |