Cycles: Accidentally inverted the logic of NDEBUG macro
This commit is contained in:
parent
4735fdc280
commit
0929821590
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
#ifndef __KERNEL_GPU__
|
#ifndef __KERNEL_GPU__
|
||||||
|
|
||||||
# ifndef NDEBUG
|
# ifdef NDEBUG
|
||||||
# define ccl_device static inline
|
# define ccl_device static inline
|
||||||
# else
|
# else
|
||||||
# define ccl_device static
|
# define ccl_device static
|
||||||
@ -45,7 +45,7 @@
|
|||||||
|
|
||||||
#if defined(_WIN32) && !defined(FREE_WINDOWS)
|
#if defined(_WIN32) && !defined(FREE_WINDOWS)
|
||||||
|
|
||||||
# ifndef NDEBUG
|
# ifdef NDEBUG
|
||||||
# define ccl_device_inline static __forceinline
|
# define ccl_device_inline static __forceinline
|
||||||
# else
|
# else
|
||||||
# define ccl_device_inline static
|
# define ccl_device_inline static
|
||||||
@ -58,7 +58,7 @@
|
|||||||
#define ccl_try_align(...) /* not support for function arguments (error C2719) */
|
#define ccl_try_align(...) /* not support for function arguments (error C2719) */
|
||||||
#endif
|
#endif
|
||||||
#define ccl_may_alias
|
#define ccl_may_alias
|
||||||
# ifndef NDEBUG
|
# ifdef NDEBUG
|
||||||
# define ccl_always_inline __forceinline
|
# define ccl_always_inline __forceinline
|
||||||
# else
|
# else
|
||||||
# define ccl_always_inline
|
# define ccl_always_inline
|
||||||
|
Loading…
Reference in New Issue
Block a user