X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkCommon.cxx;h=c71bd5078fbf5598e7982eb81287204c1c26c694;hb=543b72e23ad001ac2a7743b9beacf48e2d0054ac;hp=96980bbbb6b47f3c7c20106f0ef9dd0e2cabd09d;hpb=15fefeb40fdf72c0167126ece6d74bdc3fe1a817;p=clitk.git diff --git a/common/clitkCommon.cxx b/common/clitkCommon.cxx index 96980bb..c71bd50 100644 --- a/common/clitkCommon.cxx +++ b/common/clitkCommon.cxx @@ -21,6 +21,12 @@ #include +#ifdef _WIN32 + #define _USE_MATH_DEFINES + #include + const double M_PI = std::acos(-1.0); +#endif + // clitk include #include "clitkCommon.h"