X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkDD.h;h=c5a999629358e06be28d4f6232f047d8dc4f909c;hb=998ca9ca987553dc71578e5584e881f6bd537d91;hp=c21bb815acbc080e97f3adfd9b844c934209292e;hpb=e09c42efa08d782918e7aed46eb1e0750fd0e2e9;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