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:
Frederik Seiffert 2021-07-02 15:16:56 +02:00 committed by Frederik Seiffert
parent 4a0e308383
commit f492e50308

View file

@ -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
{