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

Remove obsolete kludges for MinGW

parent 8f6b89ab
...@@ -146,20 +146,6 @@ public: ...@@ -146,20 +146,6 @@ public:
}; };
#endif #endif
#ifdef __MINGW32__
# define __CROSS_COMPILATION__
#endif
#ifdef __MINGW64__
# define __CROSS_COMPILATION__
#endif
#ifdef __CROSS_COMPILATION__
# define M_PI 3.14159265358979323846
# define M_SQRT2 1.41421356237309504880
# define finite(x) !std::isfinite(x)
#endif
//#define DEBUG //#define DEBUG
using namespace std; using namespace std;
......
...@@ -40,18 +40,6 @@ using namespace std; ...@@ -40,18 +40,6 @@ using namespace std;
#endif #endif
#define DEBUG_OMP 0 #define DEBUG_OMP 0
#ifdef __MINGW32__
# define __CROSS_COMPILATION__
#endif
#ifdef __MINGW64__
# define __CROSS_COMPILATION__
#endif
#ifdef __CROSS_COMPILATION__
# define M_PI 3.14159265358979323846
#endif
template<typename T> template<typename T>
T T
icdf(const T uniform) icdf(const T uniform)
......
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