diff options
Diffstat (limited to 'intern/cycles/util/types_float3.h')
-rw-r--r-- | intern/cycles/util/types_float3.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/util/types_float3.h b/intern/cycles/util/types_float3.h index 060c2ac4152..c7900acaa69 100644 --- a/intern/cycles/util/types_float3.h +++ b/intern/cycles/util/types_float3.h @@ -10,7 +10,7 @@ CCL_NAMESPACE_BEGIN -#ifndef __KERNEL_GPU__ +#if !defined(__KERNEL_GPU__) struct ccl_try_align(16) float3 { # ifdef __KERNEL_SSE__ @@ -40,7 +40,7 @@ struct ccl_try_align(16) float3 ccl_device_inline float3 make_float3(float f); ccl_device_inline float3 make_float3(float x, float y, float z); ccl_device_inline void print_float3(const char *label, const float3 &a); -#endif /* __KERNEL_GPU__ */ +#endif /* !defined(__KERNEL_GPU__) */ /* Smaller float3 for storage. For math operations this must be converted to float3, so that on the * CPU SIMD instructions can be used. */ |