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 /source | |
parent | 8b192e1a6a5f985087949591d75e5757589ee16a (diff) |
MSVC: remove compiler __func__ define
No longer needed and exposes a bug in clang-format see: D4185
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenlib/BLI_compiler_compat.h | 1 | ||||
-rw-r--r-- | source/blender/datatoc/datatoc_icon.c | 4 |
2 files changed, 0 insertions, 5 deletions
diff --git a/source/blender/blenlib/BLI_compiler_compat.h b/source/blender/blenlib/BLI_compiler_compat.h index 2b53975a106..3a38cdcb5fd 100644 --- a/source/blender/blenlib/BLI_compiler_compat.h +++ b/source/blender/blenlib/BLI_compiler_compat.h @@ -28,7 +28,6 @@ */ #if defined(_MSC_VER) -# define __func__ __FUNCTION__ # define alloca _alloca #endif diff --git a/source/blender/datatoc/datatoc_icon.c b/source/blender/datatoc/datatoc_icon.c index e5f82ae09c8..86bca95891d 100644 --- a/source/blender/datatoc/datatoc_icon.c +++ b/source/blender/datatoc/datatoc_icon.c @@ -50,10 +50,6 @@ # define SEP '/' #endif -#if defined(_MSC_VER) -# define __func__ __FUNCTION__ -#endif - /* -------------------------------------------------------------------- */ /* Utility functions */ |