From c098d7fd3616f2a0601b552e2fbb3f65c7406163 Mon Sep 17 00:00:00 2001 From: Larry Gritz Date: Mon, 27 Nov 2023 19:00:03 -0800 Subject: [PATCH] build: fix include guard (#4066) Don't want that included for Cuda compilation, either. Signed-off-by: Larry Gritz --- src/include/OpenImageIO/simd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/OpenImageIO/simd.h b/src/include/OpenImageIO/simd.h index e0cdebdc1e..277ddf9fb2 100644 --- a/src/include/OpenImageIO/simd.h +++ b/src/include/OpenImageIO/simd.h @@ -276,7 +276,7 @@ // Without SSE, we need to fall back on Imath for matrix44 invert -#if !OIIO_SIMD_SSE +#if !OIIO_SIMD_SSE && !defined(__CUDA_ARCH__) # include #endif