X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkCommon.h;h=c4d772d97aab121258d2a8c33eaf6fa77b444952;hb=4a567a442ac0d844a894e5de071d51a505d07f4a;hp=4f7a9fa8266e11955ed0a7969392577ffe713819;hpb=c0544f5b35f5527ca67da10c3317f99981cfd416;p=clitk.git diff --git a/common/clitkCommon.h b/common/clitkCommon.h index 4f7a9fa..c4d772d 100644 --- a/common/clitkCommon.h +++ b/common/clitkCommon.h @@ -11,6 +11,9 @@ -------------------------------------------------------------------*/ +// clitk include +#include "clitkPortability.h" + // std include //#include //#include @@ -33,15 +36,6 @@ //-------------------------------------------------------------------- namespace clitk { - -#if defined(WIN32) -# define lrint(x) (floor(x+(x>0) ? 0.5 : -0.5)) -#endif - -#ifndef M_PI -# define M_PI 3.141592653589793238462643 -#endif - typedef unsigned char uchar; typedef unsigned short ushort;