From e9a3ad164db220d4517a3bb684ce6d01d01f0087 Mon Sep 17 00:00:00 2001 From: Tim Rowley Date: Mon, 7 Nov 2016 16:11:45 -0600 Subject: swr: [rasterizer common] don't bleed NOMINMAX definition after Reviewed-by: Bruce Cherniak --- src/gallium/drivers/swr/rasterizer/common/os.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/gallium/drivers') diff --git a/src/gallium/drivers/swr/rasterizer/common/os.h b/src/gallium/drivers/swr/rasterizer/common/os.h index ac52b605cc2..28e7ff54f96 100644 --- a/src/gallium/drivers/swr/rasterizer/common/os.h +++ b/src/gallium/drivers/swr/rasterizer/common/os.h @@ -33,8 +33,11 @@ #ifndef NOMINMAX #define NOMINMAX -#endif #include +#undef NOMINMAX +#else +#include +#endif #include #include -- cgit v1.2.3