X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkDD.h;h=97ba4437b07e5f5207faf55bfee180ac63f1cd2b;hb=ab751177fb3a247c9bbecec2af2148984196f88a;hp=f43db9d005d9ef9d98f4b6ca4dc66bb5713b8b66;hpb=aca83815bbe3946ec5656569751f22c1c9c6620d;p=clitk.git diff --git a/common/clitkDD.h b/common/clitkDD.h index f43db9d..97ba443 100644 --- a/common/clitkDD.h +++ b/common/clitkDD.h @@ -19,16 +19,17 @@ #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; \ OutputDebugString(ossDD.str().c_str()); \ + std::cout << ossDD.str() << std::endl; \ } #else # define DD(a) std::cout << #a " = [ " << a << " ]" << std::endl;std::cout.flush();