gallium/hud: use #ifdef to test for macro existence
[mesa.git] / src / gallium / auxiliary / hud / hud_nic.c
index bb29a90dbcab9eea14ec960562b7592213e5da6f..1de5705edf29e66ededb50ecc9190a2bd798ca22 100644 (file)
@@ -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.