Changed: #1246 Use CFastMutex on PPC as well if Mac or GCC > 4.0.1

This commit is contained in:
rti 2011-01-25 13:03:40 +01:00
parent d919279b33
commit 7d935d6d53

View file

@ -198,10 +198,10 @@ test_again:
* \author Nevrax France
* \date 2002, 2003
*/
#ifdef __ppc__
// on ppc, use fait mutex because we don't have ppc implementation of fast mutex
# define CFastMutex CFairMutex
#else
#if defined(__ppc__) && !defined(NL_OS_MAC) && (GCC_VERSION <= 40100)
# error "no CFastMutex implementation available, try to use GCC >4.0.1"
#endif
#ifdef NL_OS_WINDOWS
#pragma managed(push, off)
@ -311,8 +311,6 @@ private:
};
#endif
/**
* Fast mutex for multiprocessor implementation (not fairly).
* Used for multiprocessor critical section synchronisation.