From 36ad8265489fc66ab45b9b74dafa353a93bdb03b Mon Sep 17 00:00:00 2001 From: George Kyriazis Date: Wed, 4 Jan 2017 13:13:36 -0600 Subject: swr: fix windows build break wrap lp_bld_type.h around extern "C". Windows decorates global variables, so when used from .cpp files, need to use an undecorated version. Also, removed related and unneeded code from swr_screen.cpp Reviewed-by: Ilia Mirkin --- src/gallium/drivers/swr/swr_screen.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/gallium/drivers/swr') diff --git a/src/gallium/drivers/swr/swr_screen.cpp b/src/gallium/drivers/swr/swr_screen.cpp index ad270e5bea2..6ff21cdf186 100644 --- a/src/gallium/drivers/swr/swr_screen.cpp +++ b/src/gallium/drivers/swr/swr_screen.cpp @@ -39,10 +39,6 @@ #include "state_tracker/sw_winsys.h" -extern "C" { -#include "gallivm/lp_bld_limits.h" -} - #include "jit_api.h" #include "memory/TilingFunctions.h" -- cgit v1.2.3