Prevent libstdc++ copysign declaration error on Win32.

This commit is contained in:
John Ralls 2020-05-30 15:18:18 -07:00
parent 8654cb86c8
commit 2a42078e9a

View File

@ -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>