Mesa (glsl2): glcpp/tests: Fix 073-if-in-ifdef.c to use #ifdef, not #if.

Kenneth Graunke kwg at kemper.freedesktop.org
Thu Aug 5 06:33:50 UTC 2010


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

Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed Aug  4 16:21:33 2010 -0700

glcpp/tests: Fix 073-if-in-ifdef.c to use #ifdef, not #if.

The original intention was to use #ifdef.

---

 src/glsl/glcpp/tests/073-if-in-ifdef.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/glsl/glcpp/tests/073-if-in-ifdef.c b/src/glsl/glcpp/tests/073-if-in-ifdef.c
index b9155b5..61a4809 100644
--- a/src/glsl/glcpp/tests/073-if-in-ifdef.c
+++ b/src/glsl/glcpp/tests/073-if-in-ifdef.c
@@ -1,4 +1,4 @@
-#if UNDEF
+#ifdef UNDEF
 #if UNDEF > 1
 #endif
 #endif




More information about the mesa-commit mailing list