forked from bartvdbraak/blender
Cycles: Fix compilation warning with CUDA on OSX
This commit is contained in:
parent
f49e28bae7
commit
1e29286c8c
@ -43,7 +43,9 @@ template <> class StaticAssertFailure<true> {};
|
||||
# endif /* __COUNTER__ */
|
||||
# endif /* C++11 or MSVC2015 */
|
||||
#else /* __KERNEL_GPU__ */
|
||||
# define static_assert(statement, message)
|
||||
# ifndef static_assert
|
||||
# define static_assert(statement, message)
|
||||
# endif
|
||||
#endif /* __KERNEL_GPU__ */
|
||||
|
||||
/* TODO(sergey): For until C++11 is a bare minimum for us,
|
||||
|
Loading…
Reference in New Issue
Block a user