mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-17 21:11:39 +00:00
Changed: #1246 Use CFastMutex on PPC as well if Mac or GCC > 4.0.1
This commit is contained in:
parent
0423c18309
commit
936545fe64
1 changed files with 4 additions and 6 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue