From 80de3192a78a78447810a42c9c404e9b0244dfb2 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 13 Mar 2013 15:41:14 +0000 Subject: attempt to quiet warnings for gcc4.2 --- source/blender/blenlib/BLI_math_geom.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/blenlib/BLI_math_geom.h') 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 -- cgit v1.2.3