diff options
Diffstat (limited to 'src/gallium/drivers/llvmpipe')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_test.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_test.h b/src/gallium/drivers/llvmpipe/lp_test.h index e1b51c9c9a6..3d00b01253c 100644 --- a/src/gallium/drivers/llvmpipe/lp_test.h +++ b/src/gallium/drivers/llvmpipe/lp_test.h @@ -71,8 +71,7 @@ test_all(unsigned verbose, FILE *fp); #if defined(PIPE_CC_MSVC) -unsigned __int64 __rdtsc(); -#pragma intrinsic(__rdtsc) +#include <intrin.h> #define rdtsc() __rdtsc() #elif defined(PIPE_CC_GCC) && (defined(PIPE_ARCH_X86) || defined(PIPE_ARCH_X86_64)) |