diff options
author | Brian Paul <[email protected]> | 2010-07-26 20:48:29 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-07-26 20:48:29 -0600 |
commit | b17ee335e3398cd1bbd26f5411e7ee6fb6839286 (patch) | |
tree | a4841fbf000a7c4011f5b0aa3e10c577c9c8ef63 /src/gallium/auxiliary/util | |
parent | 5403ca79b225605c79f49866a6497c97da53be3b (diff) |
util: fix unused function warning on non-x86
Diffstat (limited to 'src/gallium/auxiliary/util')
-rw-r--r-- | src/gallium/auxiliary/util/u_cpu_detect.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_cpu_detect.c b/src/gallium/auxiliary/util/u_cpu_detect.c index 23d33af4e41..879643463fb 100644 --- a/src/gallium/auxiliary/util/u_cpu_detect.c +++ b/src/gallium/auxiliary/util/u_cpu_detect.c @@ -75,7 +75,10 @@ struct util_cpu_caps util_cpu_caps; +#if defined(PIPE_ARCH_X86) || defined(PIPE_ARCH_X86_64) static int has_cpuid(void); +#endif + #if defined(PIPE_ARCH_X86) |