diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-03-13 19:41:14 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-03-13 19:41:14 +0400 |
commit | 80de3192a78a78447810a42c9c404e9b0244dfb2 (patch) | |
tree | 871858390054e2a24e55a7d451737c358b93124d /source/blender/blenlib/BLI_math_base.h | |
parent | 6d070e47c1862b76a0e0b56ee697c8828a15b866 (diff) |
attempt to quiet warnings for gcc4.2
Diffstat (limited to 'source/blender/blenlib/BLI_math_base.h')
-rw-r--r-- | source/blender/blenlib/BLI_math_base.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_math_base.h b/source/blender/blenlib/BLI_math_base.h index 1f42d94b1dd..67c1ffcebc0 100644 --- a/source/blender/blenlib/BLI_math_base.h +++ b/source/blender/blenlib/BLI_math_base.h @@ -179,7 +179,7 @@ #include "intern/math_base_inline.c" #endif -#ifdef __GNUC__ +#ifdef BLI_MATH_GCC_WARN_PRAGMA # pragma GCC diagnostic push # pragma GCC diagnostic ignored "-Wredundant-decls" #endif @@ -222,7 +222,7 @@ extern double round(double x); double double_round(double x, int ndigits); -#ifdef __GNUC__ +#ifdef BLI_MATH_GCC_WARN_PRAGMA # pragma GCC diagnostic pop #endif |