re-enable cross-compilation with mingw64

This commit is contained in:
Axel Kohlmeyer
2020-04-13 11:22:19 -04:00
parent 4abff7b4d3
commit 5d2ec73c5d

View File

@ -8,9 +8,13 @@
* (VC11 has _MSC_VER=1700).
*/
#if defined(_MSC_VER)
#if defined(_MSC_VER) || defined (__MINGW32__)
#if !defined(M_PI)
#define M_PI 3.14159265358979323846264338327950288
#endif
#endif
#if defined(_MSC_VER)
#if _MSC_VER <= 1700 // 1700 is VC11, 1800 is VC12
/***************************
* erf.cpp