Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-05-01 19:14:15 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-05-01 19:14:15 +0400
commit95b93b5d46b7fb8b98295a1368bc44a3f63fe8c7 (patch)
treeb8354da5645d51d98d010fce61d86d163d2b4b2c /source/blender/blenlib/BLI_utildefines.h
parent35ca2091529cc7817f52ecc36b09f27713f474c1 (diff)
Add BLI_compiler_compat.h to help with portability
Diffstat (limited to 'source/blender/blenlib/BLI_utildefines.h')
-rw-r--r--source/blender/blenlib/BLI_utildefines.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/source/blender/blenlib/BLI_utildefines.h b/source/blender/blenlib/BLI_utildefines.h
index ea3701f804a..8c67c76bccd 100644
--- a/source/blender/blenlib/BLI_utildefines.h
+++ b/source/blender/blenlib/BLI_utildefines.h
@@ -34,6 +34,7 @@
/* avoid many includes for now */
#include "BLI_sys_types.h"
+#include "BLI_compiler_compat.h"
#ifndef NDEBUG /* for BLI_assert */
#include <stdio.h>
@@ -386,16 +387,9 @@
#define STRCASEEQLEN(a, b, n) (strncasecmp(a, b, n) == 0)
#define STRPREFIX(a, b) (strncmp((a), (b), strlen(b)) == 0)
-
-
/* useful for debugging */
#define AT __FILE__ ":" STRINGIFY(__LINE__)
-/* so we can use __func__ everywhere */
-#if defined(_MSC_VER)
-# define __func__ __FUNCTION__
-#endif
-
/* UNUSED macro, for function argument */
#ifdef __GNUC__