diff --git a/bfps/cpp/vorticity_equation.hpp b/bfps/cpp/vorticity_equation.hpp
index 6c2621c98c15179b61f4cf52f6a6a227847574a4..60d566ed9f149c5a5e4848a2b4640c7378b05e98 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