summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-04-15 16:43:47 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-04-15 16:43:47 +0000
commit15d3d11244889bb568c15c6f36b40dc55b31be5a (patch)
treea3c20e7e2f1cf248c9edfc6522bc34948d2c8c4e /sal
parent5bd32983f25b89f6fac470a20296a49a146b24a3 (diff)
INTEGRATION: CWS dbgmacros1 (1.24.76); FILE MERGED
2003/04/09 12:08:27 kso 1.24.76.1: #108413# - debug macro unification.
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/unx/thread.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sal/osl/unx/thread.c b/sal/osl/unx/thread.c
index 1adf460b93eb..f85d771ac757 100644
--- a/sal/osl/unx/thread.c
+++ b/sal/osl/unx/thread.c
@@ -2,9 +2,9 @@
*
* $RCSfile: thread.c,v $
*
- * $Revision: 1.24 $
+ * $Revision: 1.25 $
*
- * last change: $Author: mhu $ $Date: 2002-10-30 23:23:10 $
+ * last change: $Author: vg $ $Date: 2003-04-15 17:43:47 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -780,24 +780,24 @@ static void osl_thread_priority_init_Impl (void)
OSL_TRACE("Min Prioriy for policy '%i' == '%i'\n",policy,nRet);
g_thread.m_priority.m_Lowest=nRet;
}
-#if defined(DEBUG)
+#if OSL_DEBUG_LEVEL > 1
else
{
fprintf(stderr,"failed to get min sched param [%s]\n",strerror(errno));
}
-#endif /* DEBUG */
+#endif /* OSL_DEBUG_LEVEL */
if ((nRet = sched_get_priority_max(policy) ) != -1)
{
OSL_TRACE("Max Prioriy for policy '%i' == '%i'\n",policy,nRet);
g_thread.m_priority.m_Highest=nRet;
}
-#if defined(DEBUG)
+#if OSL_DEBUG_LEVEL > 1
else
{
fprintf(stderr,"failed to get max sched param [%s]\n",strerror(errno));
}
-#endif /* DEBUG */
+#endif /* OSL_DEBUG_LEVEL */
g_thread.m_priority.m_Normal =
(g_thread.m_priority.m_Lowest + g_thread.m_priority.m_Highest) / 2;