wrap file in #ifdef USE_TCC, otherwise compilation failes
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 14 Apr 2004 23:23:19 +0000 (23:23 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 14 Apr 2004 23:23:19 +0000 (23:23 +0000)
src/mesa/swrast/s_fragprog_to_c.c

index 647510a..d1d9a0b 100644 (file)
@@ -39,6 +39,8 @@
 #include "s_texture.h"
 
 
+#ifdef USE_TCC
+
 /* UREG - a way of representing an FP source register including
  * swizzling and negation in a single GLuint.  Major flaw is the
  * limitiation to source->Index < 32.  Secondary flaw is the fact that
@@ -816,3 +818,4 @@ void _swrast_translate_program( GLcontext *ctx )
    }
 }
 
+#endif /*USE_TCC*/