X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkPortability.h;h=3671066fce427e26fb789cb3311865b8c1e32287;hb=d55f025b18f68066a52b8f33c2dc6481e82c2580;hp=7fae01ec9916e31e303465a95685e7fa46d9b0db;hpb=d5d7649dc98a8b698bca05a170253513834f04bf;p=clitk.git diff --git a/common/clitkPortability.h b/common/clitkPortability.h index 7fae01e..3671066 100644 --- a/common/clitkPortability.h +++ b/common/clitkPortability.h @@ -17,12 +17,12 @@ ===========================================================================**/ #ifndef CLITKPORTABILITY_H #define CLITKPORTABILITY_H -#if defined(WIN32) +#if defined(_WIN32) # define _USE_MATH_DEFINES //Before math.h include (i.e. cmath) #endif #include -#if defined(WIN32) +#if defined(_WIN32) # define rint(x) floor(x+0.5) # define lrint(x) (long)rint(x) #endif