From: Tilman Sauerbeck Date: Sat, 18 Aug 2012 09:51:22 +0000 (+0200) Subject: mesa: use #if over #ifdef in the FEATURE_ES1 check to fix a build failure. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d0ace4e949d0e2f11e6f0fb0fd97ccde58457937;p=mesa.git mesa: use #if over #ifdef in the FEATURE_ES1 check to fix a build failure. mfeatures.h will define FEATURE_ES1 to 0 if it's not defined yet. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=53664 Signed-off-by: Brian Paul --- diff --git a/src/mesa/main/es1_conversion.c b/src/mesa/main/es1_conversion.c index a1d3b76406e..b8ae2673807 100644 --- a/src/mesa/main/es1_conversion.c +++ b/src/mesa/main/es1_conversion.c @@ -1,7 +1,7 @@ #include #include "main/mfeatures.h" -#ifdef FEATURE_ES1 +#if FEATURE_ES1 #include "api_loopback.h" #include "api_exec.h"