summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-01-12 23:13:48 +0100
committerMarek Olšák <[email protected]>2015-01-12 23:20:26 +0100
commitbed6f20f28af8bf531c14e3cab12a00354a313fc (patch)
treebc3fa1e627e79db4917c260aeb7801d810341443 /src
parent0e6f0eea1aae95213b359662495142fc7b88c34f (diff)
r600g: fix build failure when building the driver without LLVM
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/radeon/r600_pipe_common.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/r600_pipe_common.c b/src/gallium/drivers/radeon/r600_pipe_common.c
index 04fc9c59c73..f91772e6207 100644
--- a/src/gallium/drivers/radeon/r600_pipe_common.c
+++ b/src/gallium/drivers/radeon/r600_pipe_common.c
@@ -36,6 +36,10 @@
#include "radeon/radeon_video.h"
#include <inttypes.h>
+#ifndef HAVE_LLVM
+#define HAVE_LLVM 0
+#endif
+
/*
* pipe_context
*/