summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/es1_conversion.c
diff options
context:
space:
mode:
authorTilman Sauerbeck <tilman@code-monkey.de>2012-08-18 11:51:22 +0200
committerBrian Paul <brianp@vmware.com>2012-08-18 07:53:54 -0600
commitd0ace4e949d0e2f11e6f0fb0fd97ccde58457937 (patch)
treede589bdf76c0bed5211b0fb0d10d121b79b432b7 /src/mesa/main/es1_conversion.c
parent5b542681dc05b8b9eba677ee74323ac0ff85a5f0 (diff)
downloadexternal_mesa3d-d0ace4e949d0e2f11e6f0fb0fd97ccde58457937.zip
external_mesa3d-d0ace4e949d0e2f11e6f0fb0fd97ccde58457937.tar.gz
external_mesa3d-d0ace4e949d0e2f11e6f0fb0fd97ccde58457937.tar.bz2
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@vmware.com>
Diffstat (limited to 'src/mesa/main/es1_conversion.c')
-rw-r--r--src/mesa/main/es1_conversion.c2
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"