Cleanup: warning w/ unknown define

This commit is contained in:
Campbell Barton 2015-11-30 10:09:44 +11:00
parent 5b90a6e188
commit 5bfc32bab4

@ -4478,7 +4478,7 @@ void OSLScriptNode::compile(SVMCompiler& /*compiler*/)
void OSLScriptNode::compile(OSLCompiler& compiler)
{
#if OSL_LIBRARY_VERSION_CODE < 10701
#if defined(WITH_OSL) && (OSL_LIBRARY_VERSION_CODE < 10701)
/* XXX fix for #36790:
* point and normal parameters are reflected as generic SOCK_VECTOR sockets
* on the node. Socket fixed input values need to be copied explicitly here for