From 431619e45b75bbe4c9476dd944168fb8bea2e3ca Mon Sep 17 00:00:00 2001 From: Thomas Dinges Date: Sun, 27 Jan 2013 15:12:52 +0000 Subject: Windows compile fix: * r54117 broke Windows, __func__ not declared. --- intern/guardedalloc/intern/mallocn.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'intern') 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 #endif +#if defined(_MSC_VER) +# define __func__ __FUNCTION__ +#endif + #include "MEM_guardedalloc.h" /* Only for debugging: -- cgit v1.2.3