Fix #define issues.

This commit is contained in:
Gregory John Casamento 2019-06-13 18:58:50 -04:00
parent 7799824de6
commit 4edcc3f697
2 changed files with 6 additions and 1 deletions

View file

@ -202,4 +202,8 @@ extern "C" {
- (instancetype) initWithCoder: (NSCoder *)coder;
@end
#if defined(__cplusplus)
}
#endif
#endif /* _NSOrderedSet_h_GNUSTEP_BASE_INCLUDE */

View file

@ -1144,7 +1144,8 @@ static SEL rlSel;
- (BOOL) intersectsSet: (NSSet *)otherSet
{
id o = nil, e = nil;
id o = nil;
NSEnumerator *e = nil;
// -1. If this set is empty, this method should return NO.
if ([self count] == 0)