diff --git a/code/nel/include/nel/misc/mutex.h b/code/nel/include/nel/misc/mutex.h index e93929ba9..e2205d666 100644 --- a/code/nel/include/nel/misc/mutex.h +++ b/code/nel/include/nel/misc/mutex.h @@ -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.