Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Ebb <matt@mke3.net>2008-10-22 04:26:19 +0400
committerMatt Ebb <matt@mke3.net>2008-10-22 04:26:19 +0400
commit6f656f6482adfa93b010b364cac41a449b8fdc91 (patch)
treec165211e90a60ef2cb8497743db4d184d54a1521 /source/blender
parent094fda8cd9c1e6f5f452bf6c47ad53bebb8dd4e6 (diff)
fix for a compile error with msvc
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/render/intern/source/volumetric.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/render/intern/source/volumetric.c b/source/blender/render/intern/source/volumetric.c
index cd35bc027d1..95cd9e5588b 100644
--- a/source/blender/render/intern/source/volumetric.c
+++ b/source/blender/render/intern/source/volumetric.c
@@ -56,6 +56,10 @@
#include "shading.h"
#include "texture.h"
+#if defined( _MSC_VER ) && !defined( __cplusplus )
+# define inline __inline
+#endif // defined( _MSC_VER ) && !defined( __cplusplus )
+
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* defined in pipeline.c, is hardcopy of active dynamic allocated Render */
/* only to be used here in this file, it's for speed */