Attempt to fix previous commit for non-c++11 builds
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 9 Aug 2016 13:47:51 +0000 (15:47 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 9 Aug 2016 13:47:51 +0000 (15:47 +0200)
source/blender/render/intern/raytrace/rayobject_rtbuild.cpp

index 6abe1061247ef0049f846c5735a61cc8165cd09b..724a809077eab6b96c6fafda4ec54189b956fca5 100644 (file)
@@ -42,7 +42,9 @@
 #include "BLI_math.h"
 #include "BLI_utildefines.h"
 
+#if __cplusplus >= 201103L
 using std::isfinite;
+#endif
 
 static bool selected_node(RTBuilder::Object *node)
 {