From ce18921d125ca705ed62b851cce59f874afb243e Mon Sep 17 00:00:00 2001 From: Chichi Lalescu <chichilalescu@gmail.com> Date: Wed, 19 Apr 2017 21:50:58 +0200 Subject: [PATCH] use __GNUC__ instead of GNUC_MAJOR --- bfps/cpp/vorticity_equation.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bfps/cpp/vorticity_equation.hpp b/bfps/cpp/vorticity_equation.hpp index 6c2621c9..60d566ed 100644 --- a/bfps/cpp/vorticity_equation.hpp +++ b/bfps/cpp/vorticity_equation.hpp @@ -117,7 +117,7 @@ class vorticity_equation read); if (read) { - #if (__GNUC_MAJOR__ <= 4 && __GNUC_MINOR__ <= 7) + #if (__GNUC__ <= 4 && __GNUC_MINOR__ <= 7) this->kk->low_pass<rnumber, THREE>(this->cvorticity->get_cdata(), this->kk->kM); this->kk->force_divfree<rnumber>(this->cvorticity->get_cdata()); #else -- GitLab