X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkDD.h;h=97ba4437b07e5f5207faf55bfee180ac63f1cd2b;hb=292caf3cde03e7d88a074282ead314b0e2688a83;hp=f43db9d005d9ef9d98f4b6ca4dc66bb5713b8b66;hpb=881b5de4e316be2989ea6ef37b733541dc681a69;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();