mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
make tests pass on os-x 14.5
This commit is contained in:
parent
1a1e7f7fc5
commit
a0a62fbde4
4 changed files with 12 additions and 6 deletions
|
@ -8,12 +8,14 @@
|
|||
int main()
|
||||
{
|
||||
START_SET("NSMapTable weak objects")
|
||||
#if !__APPLE__ // We assume that apple systems support zeroing weak pointers
|
||||
#ifdef OBJC_CAP_ARC
|
||||
if (!objc_test_capability(OBJC_CAP_ARC))
|
||||
#endif
|
||||
{
|
||||
SKIP("ARC support unavailable")
|
||||
}
|
||||
#endif
|
||||
NSAutoreleasePool *arp = [NSAutoreleasePool new];
|
||||
NSMapTable *mapTable = [NSMapTable strongToWeakObjectsMapTable];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue