summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 11:40:13 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 11:40:13 +0100
commita415a66f1af0944cac631bfd6b75c3d569e6f1df (patch)
tree313b5a8fa0e7999b35affdf6761ff5c24ce84d64 /sal
parentb62f1bd5bf850ce18bafa332d5da121939bb5133 (diff)
Fix SAL_W32
Change-Id: I60333e2b0f71c38aa13e6a6665c2a305e6dc08fa
Diffstat (limited to 'sal')
-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
}
/* ================================================================= *