diff options
author | Tobias Droste <[email protected]> | 2016-12-08 03:03:38 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-01-18 13:23:01 +0000 |
commit | 4d0efb9683856cada2f34b124c77ef20a2fe0332 (patch) | |
tree | 0818a39a2c623d60a41dc6c93b45b61e9f51c014 /src/gallium/auxiliary/draw/draw_context.h | |
parent | b045d23c0b804074a7fbc849d7098d51056ccb6b (diff) |
configure.ac: Set and use HAVE_GALLIUM_LLVM define
Gallium code used HAVE_LLVM to check if it needs to compile code for
LLVM in header and source files.
With the new logic HAVE_LLVM is always set. Use extra define to figure
out if LLVM is used.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99010
Signed-off-by: Tobias Droste <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_context.h')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_context.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_context.h b/src/gallium/auxiliary/draw/draw_context.h index 145fc2ed467..782dec2dde3 100644 --- a/src/gallium/auxiliary/draw/draw_context.h +++ b/src/gallium/auxiliary/draw/draw_context.h @@ -65,7 +65,7 @@ struct draw_so_target { struct draw_context *draw_create( struct pipe_context *pipe ); -#if HAVE_LLVM +#if HAVE_GALLIUM_LLVM struct draw_context *draw_create_with_llvm_context(struct pipe_context *pipe, void *context); #endif |