summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-04-15 16:49:37 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-04-15 16:49:37 +0000
commit9d4358a7d77152854082f0b405225089832cef7b (patch)
tree919d2ac118aad9948a6d7883e17303d83b03e9df /sal
parentab26b4c02ff7da2b93b504a48cd53e04a66ba3ac (diff)
INTEGRATION: CWS dbgmacros1 (1.1.1.1.112); FILE MERGED
2003/04/09 12:09:14 kso 1.1.1.1.112.1: #108413# - debug macro unification.
Diffstat (limited to 'sal')
-rw-r--r--sal/workben/t_layer.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sal/workben/t_layer.c b/sal/workben/t_layer.c
index f611d61289fe..107aa200d8e4 100644
--- a/sal/workben/t_layer.c
+++ b/sal/workben/t_layer.c
@@ -2,9 +2,9 @@
*
* $RCSfile: t_layer.c,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: hr $ $Date: 2003-03-26 16:47:24 $
+ * last change: $Author: vg $ $Date: 2003-04-15 17:49:37 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -261,7 +261,7 @@ static oslSocketResult SAL_CALL __osl_socket_create (
oslSocketType type,
oslProtocol protocol)
{
-#ifdef DEBUG
+#if OSL_DEBUG_LEVEL > 1
const oslSocketMethods *debug = osl_debug_getSocketMethods();
if (!(socket->m_upper || socket->m_upper->m_methods == debug))
{
@@ -272,7 +272,7 @@ static oslSocketResult SAL_CALL __osl_socket_create (
return (upper->m_methods->m_create)(upper, family, type, protocol);
}
-#endif /* DEBUG */
+#endif /* OSL_DEBUG_LEVEL */
if (!(socket->m_private))
{
/* ... */