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>2013-03-13 19:41:14 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-03-13 19:41:14 +0400
commit80de3192a78a78447810a42c9c404e9b0244dfb2 (patch)
tree871858390054e2a24e55a7d451737c358b93124d /source/blender/blenlib/BLI_math_vector.h
parent6d070e47c1862b76a0e0b56ee697c8828a15b866 (diff)
attempt to quiet warnings for gcc4.2
Diffstat (limited to 'source/blender/blenlib/BLI_math_vector.h')
-rw-r--r--source/blender/blenlib/BLI_math_vector.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_math_vector.h b/source/blender/blenlib/BLI_math_vector.h
index a4afb3b5612..c9ad19f74b4 100644
--- a/source/blender/blenlib/BLI_math_vector.h
+++ b/source/blender/blenlib/BLI_math_vector.h
@@ -42,7 +42,7 @@ extern "C" {
/************************************* Init ***********************************/
-#ifdef __GNUC__
+#ifdef BLI_MATH_GCC_WARN_PRAGMA
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wredundant-decls"
#endif
@@ -266,7 +266,7 @@ void fill_vn_i(int *array_tar, const int size, const int val);
void fill_vn_ushort(unsigned short *array_tar, const int size, const unsigned short val);
void fill_vn_fl(float *array_tar, const int size, const float val);
-#ifdef __GNUC__
+#ifdef BLI_MATH_GCC_WARN_PRAGMA
# pragma GCC diagnostic pop
#endif