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:
authorJoseph Eagar <joeedh@gmail.com>2009-09-09 11:05:04 +0400
committerJoseph Eagar <joeedh@gmail.com>2009-09-09 11:05:04 +0400
commite297d7afb02f36457a5347b2cd46a150f70fa99d (patch)
tree934f8270f4ff1a29f01f5e58669a2acdef03cd3b /source/blender/blenkernel/BKE_utildefines.h
parente0a014a45f23cbc0a073a4d70afdd999ef3bdbab (diff)
gcc compile fix
Diffstat (limited to 'source/blender/blenkernel/BKE_utildefines.h')
-rw-r--r--source/blender/blenkernel/BKE_utildefines.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/BKE_utildefines.h b/source/blender/blenkernel/BKE_utildefines.h
index 6343ea51b13..d9b4ce3ae1c 100644
--- a/source/blender/blenkernel/BKE_utildefines.h
+++ b/source/blender/blenkernel/BKE_utildefines.h
@@ -241,9 +241,9 @@ behaviour, though it may not be the best in practice.
/*little macro so inline keyword works*/
#if defined(_MSC_VER)
-#define BM_INLINE __forceinline
+#define BM_INLINE static __forceinline
#else
-#define BM_INLINE inline
+#define BM_INLINE static inline
#endif
#define BMEMSET(mem, val, size) {int _i; char *_c = mem; for (_i=0; _i<size; _i++) *_c++ = val;}