From a415a66f1af0944cac631bfd6b75c3d569e6f1df Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 10 Nov 2015 11:40:13 +0100 Subject: Fix SAL_W32 Change-Id: I60333e2b0f71c38aa13e6a6665c2a305e6dc08fa --- sal/rtl/alloc_cache.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sal/rtl') 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 } /* ================================================================= * -- cgit