mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Make NSLock recursive lock test more robust.
Removed assumption that mutext ownership availability is tied to Windows platform and use config variable instead.
This commit is contained in:
parent
4a0e308383
commit
f492e50308
1 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
|||
#import <Foundation/Foundation.h>
|
||||
#import "../../../Headers/GNUstepBase/config.h"
|
||||
#import "Testing.h"
|
||||
|
||||
int main()
|
||||
|
@ -31,8 +32,8 @@ int main()
|
|||
|
||||
#if defined(GNUSTEP_BASE_LIBRARY)
|
||||
START_SET("mutex ownership extension")
|
||||
#if defined(_WIN32)
|
||||
SKIP("mutex ownership feature not available on windows")
|
||||
#if !defined(HAVE_PTHREAD_MUTEX_OWNER)
|
||||
SKIP("mutex ownership feature not available")
|
||||
#endif
|
||||
NS_DURING
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue