diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-08-02 12:03:50 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-08-02 12:08:44 +0400 |
commit | 88a0d5ebe821d3ccd2261e99e8a9d47cceed57dc (patch) | |
tree | da7f372f22771f1ab41f8e3a0a85d0f74d471650 /source/blender/blenlib/BLI_math_base.h | |
parent | d98b6a289cc3769b1a8f4e5295533c029e4bd1fa (diff) |
Make CHECK_TYPE_NONCONST macro portable
also replace __typeof -> typeof
Diffstat (limited to 'source/blender/blenlib/BLI_math_base.h')
-rw-r--r-- | source/blender/blenlib/BLI_math_base.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_math_base.h b/source/blender/blenlib/BLI_math_base.h index 54e9349f1f8..b3fc1b195ef 100644 --- a/source/blender/blenlib/BLI_math_base.h +++ b/source/blender/blenlib/BLI_math_base.h @@ -163,7 +163,7 @@ static const int NAN_INT = 0x7FC00000; #ifndef CHECK_TYPE #ifdef __GNUC__ #define CHECK_TYPE(var, type) { \ - __typeof(var) *__tmp; \ + typeof(var) *__tmp; \ __tmp = (type *)NULL; \ (void)__tmp; \ } (void)0 |