summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-04-15 15:20:04 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-04-15 15:20:04 +0000
commita53cd25b31808732ad067f1ea08ac13ea5e87d2d (patch)
treed0eb82e67c39a716d655a58da146d0eb7a86cc3e
parent657574e32d7a7fbe0cfae1c77a8ad66339d0b23f (diff)
INTEGRATION: CWS dbgmacros1 (1.1.1.1.108); FILE MERGED
2003/04/09 10:54:56 kso 1.1.1.1.108.1: #108413# - debug macro unification.
-rw-r--r--extensions/test/stm/datatest.cxx7
-rw-r--r--extensions/test/stm/marktest.cxx7
2 files changed, 10 insertions, 4 deletions
diff --git a/extensions/test/stm/datatest.cxx b/extensions/test/stm/datatest.cxx
index e3d268fba74b..45836e9c7136 100644
--- a/extensions/test/stm/datatest.cxx
+++ b/extensions/test/stm/datatest.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: datatest.cxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 16:16:56 $
+ * last change: $Author: vg $ $Date: 2003-04-15 16:19:53 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -80,6 +80,9 @@
#include <vos/mutex.hxx>
#include <vos/thread.hxx>
+#if OSL_DEBUG_LEVEL == 0
+#define NDEBUG
+#endif
#include <assert.h>
#include <string.h>
diff --git a/extensions/test/stm/marktest.cxx b/extensions/test/stm/marktest.cxx
index 5041f86feae7..cccc9af56029 100644
--- a/extensions/test/stm/marktest.cxx
+++ b/extensions/test/stm/marktest.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: marktest.cxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 16:16:56 $
+ * last change: $Author: vg $ $Date: 2003-04-15 16:20:04 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -76,6 +76,9 @@
#include <vos/mutex.hxx>
#include <vos/thread.hxx>
+#if OSL_DEBUG_LEVEL == 0
+#define NDEBUG
+#endif
#include <assert.h>
#include <string.h>