]> Creatis software - clitk.git/blobdiff - common/clitkDD.h
mv file
[clitk.git] / common / clitkDD.h
index f43db9d005d9ef9d98f4b6ca4dc66bb5713b8b66..97ba4437b07e5f5207faf55bfee180ac63f1cd2b 100644 (file)
 #define clitkDD_h
 
 #include <iostream>
-#ifdef WIN32
+#ifdef _WIN32
 # include <windows.h>
 #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();