From: tbaudier <thomas.baudier@creatis.insa-lyon.fr>
Date: Thu, 15 Mar 2018 08:21:52 +0000 (+0100)
Subject: Add windows maths include
X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=68d58119912484f00207f47700eda1cef503de94;p=clitk.git

Add windows maths include
---

diff --git a/common/clitkCommon.cxx b/common/clitkCommon.cxx
index 96980bb..af462a4 100644
--- a/common/clitkCommon.cxx
+++ b/common/clitkCommon.cxx
@@ -21,6 +21,11 @@
 
 #include <itksys/SystemTools.hxx>
 
+#ifndef _WIN32
+  #define _USE_MATH_DEFINES
+  #include <cmath>
+#endif
+
 // clitk include 
 #include "clitkCommon.h"