summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/hud/hud_cpufreq.c
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2017-11-29 14:19:26 +0000
committerEric Engestrom <[email protected]>2017-12-01 13:49:42 +0000
commit29ee934331ce624ce4c30750ce0e8d4baa5eb2fa (patch)
treeb9e05c0b89c38988871b2ad2b00e7396813ca15a /src/gallium/auxiliary/hud/hud_cpufreq.c
parent13a7a2d4557a068fbf86af9eaa43b600fa8bce88 (diff)
gallium/hud: use #ifdef to test for macro existence
Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/hud/hud_cpufreq.c')
-rw-r--r--src/gallium/auxiliary/hud/hud_cpufreq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/hud/hud_cpufreq.c b/src/gallium/auxiliary/hud/hud_cpufreq.c
index 2b881a850e3..f5b7c0f2eb4 100644
--- a/src/gallium/auxiliary/hud/hud_cpufreq.c
+++ b/src/gallium/auxiliary/hud/hud_cpufreq.c
@@ -26,7 +26,7 @@
*
**************************************************************************/
-#if HAVE_GALLIUM_EXTRA_HUD
+#ifdef HAVE_GALLIUM_EXTRA_HUD
/* Purpose:
* Reading /sys/devices/system/cpu/cpu?/cpufreq/scaling_???_freq