From: srit Date: Tue, 9 Feb 2010 08:44:04 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: v1.2.0~817 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=e534754cde3aee05927b1ca4aa6962dc05ee0322;p=clitk.git *** empty log message *** --- diff --git a/common/clitkPortability.h b/common/clitkPortability.h index 87de4e4..ca16fcf 100755 --- a/common/clitkPortability.h +++ b/common/clitkPortability.h @@ -1,12 +1,14 @@ #ifndef CLITKPORTABILITY_H #define CLITKPORTABILITY_H +#if defined(WIN32) +# define _USE_MATH_DEFINES //Before math.h include (i.e. cmath) +#endif #include #if defined(WIN32) # define rint(x) floor(x+0.5) # define lrint(x) (long)rint(x) -# define _USE_MATH_DEFINES #endif template