Mesa (master): mesa: use #if over #ifdef in the FEATURE_ES1 check to fix a build failure.

Brian Paul brianp at kemper.freedesktop.org
Sat Aug 18 13:54:53 UTC 2012


Module: Mesa
Branch: master
Commit: d0ace4e949d0e2f11e6f0fb0fd97ccde58457937
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d0ace4e949d0e2f11e6f0fb0fd97ccde58457937

Author: Tilman Sauerbeck <tilman at code-monkey.de>
Date:   Sat Aug 18 11:51:22 2012 +0200

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 <brianp at vmware.com>

---

 src/mesa/main/es1_conversion.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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"




More information about the mesa-commit mailing list