summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/hud/hud_nic.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_nic.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_nic.c')
-rw-r--r--src/gallium/auxiliary/hud/hud_nic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/hud/hud_nic.c b/src/gallium/auxiliary/hud/hud_nic.c
index bb29a90dbca..1de5705edf2 100644
--- a/src/gallium/auxiliary/hud/hud_nic.c
+++ b/src/gallium/auxiliary/hud/hud_nic.c
@@ -26,7 +26,7 @@
*
**************************************************************************/
-#if HAVE_GALLIUM_EXTRA_HUD
+#ifdef HAVE_GALLIUM_EXTRA_HUD
/* Purpose: Reading network interface RX/TX throughput per second,
* displaying on the HUD.