diff --git a/indra/llcommon/llapr.h b/indra/llcommon/llapr.h index 9eb62195ee..fcff88d5a8 100644 --- a/indra/llcommon/llapr.h +++ b/indra/llcommon/llapr.h @@ -196,7 +196,7 @@ private: }; // ND: Typedefs for specialized versions. Using std::atomic_(u)int32_t to get the optimzed implementation. -#ifndef LL_LINUX +#ifdef LL_WINDOWS typedef LLAtomicBase LLAtomicU32; typedef LLAtomicBase LLAtomicS32; #else diff --git a/indra/llcommon/llinstancetracker.h b/indra/llcommon/llinstancetracker.h index f3a201a238..00c559a166 100644 --- a/indra/llcommon/llinstancetracker.h +++ b/indra/llcommon/llinstancetracker.h @@ -120,7 +120,7 @@ protected: void decrementDepth(); U32 getDepth(); private: - #ifndef LL_LINUX + #ifdef LL_WINDOWS std::atomic_uint32_t sIterationNestDepth; #else std::atomic_uint sIterationNestDepth;