From 8f67e50044a57d951891e73176a7ed3ecdf4958f Mon Sep 17 00:00:00 2001
From: Thomas Feuvrier <thomas.feuvrier@c-s.fr>
Date: Wed, 28 Jun 2006 08:35:27 +0000
Subject: [PATCH] =?UTF-8?q?Nouvelle=20macro=20utilis=C3=A9e=20en=20mode=20?=
 =?UTF-8?q?DEV?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 Code/Common/otbMacro.h | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/Code/Common/otbMacro.h b/Code/Common/otbMacro.h
index 6de6790e2f..318f8f911a 100755
--- a/Code/Common/otbMacro.h
+++ b/Code/Common/otbMacro.h
@@ -49,6 +49,20 @@
 }
 #endif
 
+#if defined(OTB_LEAN_AND_MEAN) || defined(__BORLANDC__)
+#define otbMsgDevMacro(x)
+#else
+  #ifdef OTB_ACTIVE_MSG_DEV_MACRO
+    #define otbMsgDevMacro(x) \
+    { { ::itk::OStringStream itkmsg; \
+      itkmsg << " Msg Dev: " x << "\n"; \
+      ::itk::OutputWindowDisplayDebugText(itkmsg.str().c_str());} \
+     }
+  #else
+     #define otbMsgDevMacro(x)
+  #endif
+#endif
+
 
 /** This macro is used to print warning information (i.e., unusual circumstance
  * but not necessarily fatal.) Example usage looks like:
-- 
GitLab