[Mesa-dev] [PATCH] Use #if over #ifdef in the FEATURE_ES1 check to fix a build failure.
Tilman Sauerbeck
tilman at code-monkey.de
Sat Aug 18 02:51:22 PDT 2012
mfeatures.h will define FEATURE_ES1 to 0 if it's not defined yet.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=53664
---
src/mesa/main/es1_conversion.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mesa/main/es1_conversion.c b/src/mesa/main/es1_conversion.c
index a1d3b76..b8ae267 100644
--- a/src/mesa/main/es1_conversion.c
+++ b/src/mesa/main/es1_conversion.c
@@ -1,7 +1,7 @@
#include <stdbool.h>
#include "main/mfeatures.h"
-#ifdef FEATURE_ES1
+#if FEATURE_ES1
#include "api_loopback.h"
#include "api_exec.h"
--
1.7.10
More information about the mesa-dev
mailing list