X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=common%2FclitkDD.h;h=c5a999629358e06be28d4f6232f047d8dc4f909c;hb=19b462067f2b839ebb7e7cc8ba84aa14f4152e8b;hp=c21bb815acbc080e97f3adfd9b844c934209292e;hpb=62fec36fbd5a7a092ab29af461b590c22c7a3baa;p=clitk.git diff --git a/common/clitkDD.h b/common/clitkDD.h index c21bb81..c5a9996 100644 --- a/common/clitkDD.h +++ b/common/clitkDD.h @@ -19,12 +19,12 @@ #define clitkDD_h #include -#ifdef WIN32 +#ifdef _WIN32 # include #endif // David's debug -#ifdef WIN32 +#ifdef _WIN32 # define DD(a) { \ std::ostringstream ossDD; \ ossDD << #a " = [ " << a << " ]" << std::endl; \ @@ -38,6 +38,6 @@ template void _print_container(T const& a) { for(typename T::const_iterator i=a.begin();i!=a.end();++i) { std::cout << *i << " "; };} -#define DDS(a) { std::cout << #a " = [ "; _print_container(a) ; std::cout << " ]" << std::endl;std::cout.flush():} +#define DDS(a) { std::cout << #a " = [ "; _print_container(a) ; std::cout << " ]" << std::endl;std::cout.flush();} #endif