Windows compile fix:
authorThomas Dinges <blender@dingto.org>
Sun, 27 Jan 2013 15:12:52 +0000 (15:12 +0000)
committerThomas Dinges <blender@dingto.org>
Sun, 27 Jan 2013 15:12:52 +0000 (15:12 +0000)
* r54117 broke Windows, __func__ not declared.

intern/guardedalloc/intern/mallocn.c

index 0e08c9927d6daca37753ec7ab266ccca857a3a83..93cb2f6d4d1bd40ad930be245ab86e212c54f11e 100644 (file)
 #  include <sys/mman.h>
 #endif
 
+#if defined(_MSC_VER)
+#  define __func__ __FUNCTION__
+#endif
+
 #include "MEM_guardedalloc.h"
 
 /* Only for debugging: