gnucash master: Prevent libstdc++ copysign declaration error on Win32.
John Ralls
jralls at code.gnucash.org
Sat May 30 18:18:30 EDT 2020
Updated via https://github.com/Gnucash/gnucash/commit/2a42078e (commit)
from https://github.com/Gnucash/gnucash/commit/8654cb86 (commit)
commit 2a42078e9a6ca920a342264b5caf4c8571316cbd
Author: John Ralls <jralls at ceridwen.us>
Date: Sat May 30 15:18:18 2020 -0700
Prevent libstdc++ copysign declaration error on Win32.
diff --git a/gnucash/gnucash-core-app.hpp b/gnucash/gnucash-core-app.hpp
index e7e53553c..e18575887 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 <boost/program_options.hpp>
#include <string>
#include <vector>
Summary of changes:
gnucash/gnucash-core-app.hpp | 3 +++
1 file changed, 3 insertions(+)
More information about the gnucash-changes
mailing list