summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2011-09-30 15:36:14 +0200
committerStephan Bergmann <sbergman@redhat.com>2011-09-30 15:37:11 +0200
commit979e2c8f8b9325a5c75bfc1f388aa8f69b988d2c (patch)
tree978118f7c3b0aabfa58786561b624b30c75be3c5 /sal
parent62892c5cacd0b26f35e567f5a95867a15c807584 (diff)
-fthreadsafe-statics uses a single lock on Mac OS X and thus leads to deadlock.
Diffstat (limited to 'sal')
-rw-r--r--sal/inc/rtl/instance.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/inc/rtl/instance.hxx b/sal/inc/rtl/instance.hxx
index 7080cecda44e..bcb1791e364b 100644
--- a/sal/inc/rtl/instance.hxx
+++ b/sal/inc/rtl/instance.hxx
@@ -386,7 +386,7 @@ namespace rtl {
using the outer class
(the one that derives from this base class)
*/
-#if (__GNUC__ >= 4)
+#if defined HAVE_THREADSAFE_STATICS
template<typename T, typename Unique>
class Static {
public: