diff options
author | Thomas Dinges <blender@dingto.org> | 2013-01-27 19:12:52 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2013-01-27 19:12:52 +0400 |
commit | 431619e45b75bbe4c9476dd944168fb8bea2e3ca (patch) | |
tree | a87124dd15c6eb240220553e9a5894fe42459675 /intern | |
parent | 1a97efb1ba27a1aaf452da8ef65c27ad6f739fa0 (diff) |
Windows compile fix:
* r54117 broke Windows, __func__ not declared.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/guardedalloc/intern/mallocn.c | 4 |
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: |