gallium/hud: use #ifdef to test for macro existence
authorEric Engestrom <eric.engestrom@imgtec.com>
Wed, 29 Nov 2017 14:19:26 +0000 (14:19 +0000)
committerEric Engestrom <eric.engestrom@imgtec.com>
Fri, 1 Dec 2017 13:49:42 +0000 (13:49 +0000)
commit29ee934331ce624ce4c30750ce0e8d4baa5eb2fa
treeb9e05c0b89c38988871b2ad2b00e7396813ca15a
parent13a7a2d4557a068fbf86af9eaa43b600fa8bce88
gallium/hud: use #ifdef to test for macro existence

Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/auxiliary/hud/hud_context.c
src/gallium/auxiliary/hud/hud_cpufreq.c
src/gallium/auxiliary/hud/hud_diskstat.c
src/gallium/auxiliary/hud/hud_nic.c
src/gallium/auxiliary/hud/hud_private.h
src/gallium/auxiliary/hud/hud_sensors_temp.c