hostsupport/hostopenvg/src/riPixelPipe.cpp
branchbug235_bringup_0
changeset 69 3f914c77c2e9
parent 53 c2ef9095503a
--- a/hostsupport/hostopenvg/src/riPixelPipe.cpp	Tue Oct 26 14:14:43 2010 +0100
+++ b/hostsupport/hostopenvg/src/riPixelPipe.cpp	Mon Nov 01 18:10:32 2010 +0000
@@ -40,9 +40,11 @@
 #ifndef __SFDYNAMICPIXELPIPE_H
 #   include "sfDynamicPixelPipe.h"
 #endif
+#if defined(RI_COMPILE_LLVM_BYTECODE)
 #ifndef __SFCOMPILER_H
 #   include "sfCompiler.h"
 #endif
+#endif
 
 //==============================================================================================
 
@@ -1417,7 +1419,7 @@
 
 void PixelPipe::fillSpans(PPVariants& variants, const Span* spans, int nSpans) const
 {
-#if 1
+#if defined(RI_COMPILE_LLVM_BYTECODE)
     PPCompiler& compiler = PPCompiler::getCompiler();
 
     PPCompiler::PixelPipeHandle handle = compiler.compilePixelPipeline(m_derivedState);