]> Creatis software - clitk.git/blobdiff - common/clitkCommon.cxx
Windows compilation
[clitk.git] / common / clitkCommon.cxx
index af462a481173b96646efe832bab7fc311153a7df..c71bd5078fbf5598e7982eb81287204c1c26c694 100644 (file)
 
 #include <itksys/SystemTools.hxx>
 
-#ifndef _WIN32
+#ifdef _WIN32
   #define _USE_MATH_DEFINES
   #include <cmath>
+  const double M_PI = std::acos(-1.0);
 #endif
 
 // clitk include