diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2013-03-19 16:44:12 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-03-20 11:34:18 +0100 |
commit | 52f8321c412cad280c9029f10f9aef03f4f20544 (patch) | |
tree | 9942cfe490f7107177ad69175be3039b0f20b32a /sal/inc/rtl/instance.hxx | |
parent | 151abb8b2b9d3a22229b98cec12e29484d12109b (diff) |
use #if instead of #ifdef for testing config_xxx.hxx macros
http://lists.freedesktop.org/archives/libreoffice/2013-March/047769.html
Change-Id: I81ed4500878ff3193e028410a1f0205e28d17fc3
Diffstat (limited to 'sal/inc/rtl/instance.hxx')
-rw-r--r-- | sal/inc/rtl/instance.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sal/inc/rtl/instance.hxx b/sal/inc/rtl/instance.hxx index 1336c137bbf2..912a3d4597f0 100644 --- a/sal/inc/rtl/instance.hxx +++ b/sal/inc/rtl/instance.hxx @@ -381,7 +381,7 @@ namespace rtl { using the outer class (the one that derives from this base class) */ -#if defined HAVE_THREADSAFE_STATICS +#if HAVE_THREADSAFE_STATICS template<typename T, typename Unique> class Static { public: @@ -441,7 +441,7 @@ private: using the outer class (the one that derives from this base class) */ -#if defined HAVE_THREADSAFE_STATICS +#if HAVE_THREADSAFE_STATICS template<typename T, typename Data, typename Unique> class StaticWithArg { public: @@ -523,7 +523,7 @@ private: @tparam InitAggregate initializer functor class */ -#if defined HAVE_THREADSAFE_STATICS +#if HAVE_THREADSAFE_STATICS template<typename T, typename InitAggregate> class StaticAggregate { public: @@ -588,7 +588,7 @@ public: Initializer functor's return type. Default is T (common practice). */ -#if defined HAVE_THREADSAFE_STATICS +#if HAVE_THREADSAFE_STATICS template<typename T, typename InitData, typename Unique = InitData, typename Data = T> class StaticWithInit { |