mesa: use #if over #ifdef in the FEATURE_ES1 check to fix a build failure.
authorTilman Sauerbeck <tilman@code-monkey.de>
Sat, 18 Aug 2012 09:51:22 +0000 (11:51 +0200)
committerBrian Paul <brianp@vmware.com>
Sat, 18 Aug 2012 13:53:54 +0000 (07:53 -0600)
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@vmware.com>
src/mesa/main/es1_conversion.c

index a1d3b76..b8ae267 100644 (file)
@@ -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"