]> Creatis software - clitk.git/commitdiff
Add windows maths include
authortbaudier <thomas.baudier@creatis.insa-lyon.fr>
Thu, 15 Mar 2018 08:21:52 +0000 (09:21 +0100)
committertbaudier <thomas.baudier@creatis.insa-lyon.fr>
Thu, 15 Mar 2018 08:21:52 +0000 (09:21 +0100)
common/clitkCommon.cxx

index 96980bbbb6b47f3c7c20106f0ef9dd0e2cabd09d..af462a481173b96646efe832bab7fc311153a7df 100644 (file)
 
 #include <itksys/SystemTools.hxx>
 
+#ifndef _WIN32
+  #define _USE_MATH_DEFINES
+  #include <cmath>
+#endif
+
 // clitk include 
 #include "clitkCommon.h"