diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-01-11 01:22:21 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-01-11 01:22:21 +0300 |
commit | 302970b7a5e9b6510f58d786501542e162140d2e (patch) | |
tree | 7a190bc7325b25f41ad60c46bd515110f9ff853f /intern/guardedalloc | |
parent | 8b192e1a6a5f985087949591d75e5757589ee16a (diff) |
MSVC: remove compiler __func__ define
No longer needed and exposes a bug in clang-format see: D4185
Diffstat (limited to 'intern/guardedalloc')
-rw-r--r-- | intern/guardedalloc/intern/mallocn_intern.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/intern/guardedalloc/intern/mallocn_intern.h b/intern/guardedalloc/intern/mallocn_intern.h index 754a79f08b5..79c0271aff0 100644 --- a/intern/guardedalloc/intern/mallocn_intern.h +++ b/intern/guardedalloc/intern/mallocn_intern.h @@ -39,10 +39,6 @@ # include <sys/mman.h> #endif -#if defined(_MSC_VER) -# define __func__ __FUNCTION__ -#endif - #ifdef __GNUC__ # define UNUSED(x) UNUSED_ ## x __attribute__((__unused__)) #else |