Commit ba609cce authored by Sébastien Villemot's avatar Sébastien Villemot

No need to redefine PI constant for MinGW

parent f9df2bee
......@@ -9,18 +9,6 @@
#include <cstring>
#include <algorithm>
#ifdef __MINGW32__
# define __CROSS_COMPILATION__
#endif
#ifdef __MINGW64__
# define __CROSS_COMPILATION__
#endif
#ifdef __CROSS_COMPILATION__
# define M_PI 3.14159265358979323846
#endif
/* Just an easy constructor of sequence of booleans defaulting to
change everywhere. */
......
......@@ -8,17 +8,7 @@
#include "product.hh"
#include "quasi_mcarlo.hh"
#ifdef __MINGW32__
# define __CROSS_COMPILATION__
#endif
#ifdef __MINGW64__
# define __CROSS_COMPILATION__
#endif
#ifdef __CROSS_COMPILATION__
# define M_PI 3.14159265358979323846
#endif
#include <cmath>
/* Here we just set a reference to the approximation, and create a new
|DynamicModel|. */
......
......@@ -9,18 +9,6 @@
#include <cmath>
#include <limits>
#ifdef __MINGW32__
# define __CROSS_COMPILATION__
#endif
#ifdef __MINGW64__
# define __CROSS_COMPILATION__
#endif
#ifdef __CROSS_COMPILATION__
# define M_PI 3.14159265358979323846
#endif
using namespace ogp;
/** Here we just implement complementary error function without
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment