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_geom.h | |
parent | 6d070e47c1862b76a0e0b56ee697c8828a15b866 (diff) |
attempt to quiet warnings for gcc4.2
Diffstat (limited to 'source/blender/blenlib/BLI_math_geom.h')
-rw-r--r-- | source/blender/blenlib/BLI_math_geom.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_math_geom.h b/source/blender/blenlib/BLI_math_geom.h index 593aba75361..bc82b7e393b 100644 --- a/source/blender/blenlib/BLI_math_geom.h +++ b/source/blender/blenlib/BLI_math_geom.h @@ -40,7 +40,7 @@ extern "C" { #include "intern/math_geom_inline.c" #endif -#ifdef __GNUC__ +#ifdef BLI_MATH_GCC_WARN_PRAGMA # pragma GCC diagnostic push # pragma GCC diagnostic ignored "-Wredundant-decls" #endif @@ -286,7 +286,7 @@ MINLINE int min_axis_v3(const float vec[3]); MINLINE int poly_to_tri_count(const int poly_count, const int corner_count); -#ifdef __GNUC__ +#ifdef BLI_MATH_GCC_WARN_PRAGMA # pragma GCC diagnostic pop #endif |