mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-14 11:19:07 +00:00
Changed: #1246 Use CFastMutex on PPC as well if Mac or GCC > 4.0.1
This commit is contained in:
parent
d919279b33
commit
7d935d6d53
1 changed files with 4 additions and 6 deletions
|
@ -198,10 +198,10 @@ test_again:
|
||||||
* \author Nevrax France
|
* \author Nevrax France
|
||||||
* \date 2002, 2003
|
* \date 2002, 2003
|
||||||
*/
|
*/
|
||||||
#ifdef __ppc__
|
#if defined(__ppc__) && !defined(NL_OS_MAC) && (GCC_VERSION <= 40100)
|
||||||
// on ppc, use fait mutex because we don't have ppc implementation of fast mutex
|
# error "no CFastMutex implementation available, try to use GCC >4.0.1"
|
||||||
# define CFastMutex CFairMutex
|
#endif
|
||||||
#else
|
|
||||||
|
|
||||||
#ifdef NL_OS_WINDOWS
|
#ifdef NL_OS_WINDOWS
|
||||||
#pragma managed(push, off)
|
#pragma managed(push, off)
|
||||||
|
@ -311,8 +311,6 @@ private:
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Fast mutex for multiprocessor implementation (not fairly).
|
* Fast mutex for multiprocessor implementation (not fairly).
|
||||||
* Used for multiprocessor critical section synchronisation.
|
* Used for multiprocessor critical section synchronisation.
|
||||||
|
|
Loading…
Reference in a new issue