gallium/hud: use #ifdef to test for macro existence
[mesa.git] / src / gallium / auxiliary / hud / hud_diskstat.c
index 53b32baef226d663f64b8ad779b481d24a7438fc..44174d655db9c767658d37257bacd61e597b312d 100644 (file)
@@ -26,7 +26,7 @@
  *
  **************************************************************************/
 
-#if HAVE_GALLIUM_EXTRA_HUD
+#ifdef HAVE_GALLIUM_EXTRA_HUD
 
 /* Purpose: Reading /sys/block/<*>/stat MB/s read/write throughput per second,
  * displaying on the HUD.