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:
authorThomas Dinges <blender@dingto.org>2013-01-27 19:12:52 +0400
committerThomas Dinges <blender@dingto.org>2013-01-27 19:12:52 +0400
commit431619e45b75bbe4c9476dd944168fb8bea2e3ca (patch)
treea87124dd15c6eb240220553e9a5894fe42459675 /intern/guardedalloc
parent1a97efb1ba27a1aaf452da8ef65c27ad6f739fa0 (diff)
Windows compile fix:
* r54117 broke Windows, __func__ not declared.
Diffstat (limited to 'intern/guardedalloc')
-rw-r--r--intern/guardedalloc/intern/mallocn.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/intern/guardedalloc/intern/mallocn.c b/intern/guardedalloc/intern/mallocn.c
index 0e08c9927d6..93cb2f6d4d1 100644
--- a/intern/guardedalloc/intern/mallocn.c
+++ b/intern/guardedalloc/intern/mallocn.c
@@ -52,6 +52,10 @@
# include <sys/mman.h>
#endif
+#if defined(_MSC_VER)
+# define __func__ __FUNCTION__
+#endif
+
#include "MEM_guardedalloc.h"
/* Only for debugging: