diff --git a/gnucash/gnucash-core-app.hpp b/gnucash/gnucash-core-app.hpp index e7e53553c9..e185758874 100644 --- a/gnucash/gnucash-core-app.hpp +++ b/gnucash/gnucash-core-app.hpp @@ -24,6 +24,9 @@ #ifndef GNUCASH_CORE_APP_HPP #define GNUCASH_CORE_APP_HPP +#ifdef __MINGW32__ +#undef _GLIBCXX_USE_C99_MATH_TR1 // Avoid cmath missing function decl. +#endif #include #include #include