summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/llvm/instructions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/llvm/instructions.cpp')
-rw-r--r--src/mesa/pipe/llvm/instructions.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/pipe/llvm/instructions.cpp b/src/mesa/pipe/llvm/instructions.cpp
index 645ab9106f..b0aa0cc746 100644
--- a/src/mesa/pipe/llvm/instructions.cpp
+++ b/src/mesa/pipe/llvm/instructions.cpp
@@ -29,6 +29,7 @@
* Authors:
* Zack Rusin zack@tungstengraphics.com
*/
+#ifdef MESA_LLVM
#include "instructions.h"
@@ -1165,3 +1166,4 @@ llvm::Function * Instructions::findFunction(int label)
return func;
}
+#endif //MESA_LLVM