From 750c2aa1d078b97c222ebe54da350dd8bf24de82 Mon Sep 17 00:00:00 2001 From: weidai Date: Sat, 5 May 2007 02:15:11 +0000 Subject: fix compile with Sun CC git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@358 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- hrtimer.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'hrtimer.cpp') 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 } -- cgit v1.2.1