projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gallium/hud: use #ifdef to test for macro existence
[mesa.git]
/
src
/
gallium
/
auxiliary
/
hud
/
hud_sensors_temp.c
diff --git
a/src/gallium/auxiliary/hud/hud_sensors_temp.c
b/src/gallium/auxiliary/hud/hud_sensors_temp.c
index 7ae6f71b55c81216140cbeae79bef1d9a0f035bc..b912a4ea7a8d2e59aff45fffc008c48545c7f62c 100644
(file)
--- a/
src/gallium/auxiliary/hud/hud_sensors_temp.c
+++ b/
src/gallium/auxiliary/hud/hud_sensors_temp.c
@@
-26,7
+26,7
@@
*
**************************************************************************/
-#if HAVE_LIBSENSORS
+#if
def
HAVE_LIBSENSORS
/* Purpose: Extract lm-sensors data, expose temperature, power, voltage. */
#include "hud/hud_private.h"