Cycles: Fix access undefined macro on non-MSVC compiler

Also rremove trailing whitespace.
This commit is contained in:
Sergey Sharybin 2017-04-26 10:00:31 +02:00
parent 0f2d0ff124
commit 9623d93f14

@ -53,7 +53,7 @@ static float beckmann_table_slope_max()
/* MSVC 2015 needs this ugly hack to prevent a codegen bug on x86 /* MSVC 2015 needs this ugly hack to prevent a codegen bug on x86
* see T50176 for details * see T50176 for details
*/ */
#if _MSC_VER==1900 #if defined(_MSC_VER) && (_MSC_VER == 1900)
# define MSVC_VOLATILE volatile # define MSVC_VOLATILE volatile
#else #else
# define MSVC_VOLATILE # define MSVC_VOLATILE