summaryrefslogtreecommitdiff
path: root/sal/rtl/source/alloc_cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'sal/rtl/source/alloc_cache.c')
-rw-r--r--sal/rtl/source/alloc_cache.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/sal/rtl/source/alloc_cache.c b/sal/rtl/source/alloc_cache.c
index bb655ffee80c..91786ade6436 100644
--- a/sal/rtl/source/alloc_cache.c
+++ b/sal/rtl/source/alloc_cache.c
@@ -41,11 +41,6 @@
#include <stdio.h>
#endif
-#ifdef OS2
-#undef OSL_TRACE
-#define OSL_TRACE 1 ? ((void)0) : _OSL_GLOBAL osl_trace
-#endif
-
/* ================================================================= *
*
* cache internals.
@@ -60,7 +55,7 @@ struct rtl_cache_list_st
rtl_memory_lock_type m_lock;
rtl_cache_type m_cache_head;
-#if defined(SAL_UNX) || defined(SAL_OS2)
+#if defined(SAL_UNX)
pthread_t m_update_thread;
pthread_cond_t m_update_cond;
#elif defined(SAL_W32)
@@ -1376,7 +1371,7 @@ rtl_cache_wsupdate_fini (void);
/* ================================================================= */
-#if defined(SAL_UNX) || defined(SAL_OS2)
+#if defined(SAL_UNX)
#include <sys/time.h>
@@ -1542,7 +1537,7 @@ rtl_cache_wsupdate (
/** rtl_cache_wsupdate_all()
*
*/
-#if defined(SAL_UNX) || defined(SAL_OS2)
+#if defined(SAL_UNX)
static void *
#elif defined(SAL_W32)
static DWORD WINAPI