summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sal/rtl/alloc_cache.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sal/rtl/alloc_cache.cxx b/sal/rtl/alloc_cache.cxx
index 54903819e93c..7bd54975b473 100644
--- a/sal/rtl/alloc_cache.cxx
+++ b/sal/rtl/alloc_cache.cxx
@@ -1522,7 +1522,11 @@ rtl_cache_wsupdate_all (void * arg)
}
RTL_MEMORY_LOCK_RELEASE(&(g_cache_list.m_lock));
+#if defined(SAL_UNX)
return nullptr;
+#elif defined(SAL_W32)
+ return 0;
+#endif
}
/* ================================================================= *