Mesa (master): r600g: fix build failure when building the driver without LLVM
Marek Olšák
mareko at kemper.freedesktop.org
Mon Jan 12 23:00:00 UTC 2015
Module: Mesa
Branch: master
Commit: bed6f20f28af8bf531c14e3cab12a00354a313fc
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bed6f20f28af8bf531c14e3cab12a00354a313fc
Author: Marek Olšák <marek.olsak at amd.com>
Date: Mon Jan 12 23:13:48 2015 +0100
r600g: fix build failure when building the driver without LLVM
---
src/gallium/drivers/radeon/r600_pipe_common.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/gallium/drivers/radeon/r600_pipe_common.c b/src/gallium/drivers/radeon/r600_pipe_common.c
index 04fc9c5..f91772e 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
*/
More information about the mesa-commit
mailing list