Commit 0aa68677 authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul Committed by Yoni Fogel

Make it work better with icc. Addresses #1185.

git-svn-id: file:///svn/tokudb.1131b+1080a+1185+nostatementexprs@6468 c7de825b-a66e-492c-adef-691d508d4ae1
parent 38084151
// read the processor time stamp register
#if defined __i386__
#if defined __ICC
#define USE_RDTSC 1
#define rdtsc _rdtsc
#elif defined __i386__
#define USE_RDTSC 1
......@@ -12,8 +17,7 @@ static inline unsigned long long rdtsc() {
return ((unsigned long long) hi << 32ULL) + (unsigned long long) lo;
}
#else
#if defined __x86_64__
#elif defined __x86_64__
#define USE_RDTSC 1
......@@ -26,9 +30,6 @@ static inline unsigned long long rdtsc() {
return r;
}
#else
#define USE_RDTSC 0
#endif
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment