diff options
Diffstat (limited to 'third_party/ocmock/ocmock_extensions.mm')
-rw-r--r-- | third_party/ocmock/ocmock_extensions.mm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/third_party/ocmock/ocmock_extensions.mm b/third_party/ocmock/ocmock_extensions.mm index 14c3a80..353012e 100644 --- a/third_party/ocmock/ocmock_extensions.mm +++ b/third_party/ocmock/ocmock_extensions.mm @@ -29,6 +29,7 @@ CR_OCMOCK_RETURN_IMPL(Bool, BOOL); CR_OCMOCK_RETURN_IMPL(Integer, NSInteger); CR_OCMOCK_RETURN_IMPL(UnsignedInteger, NSUInteger); +#if !TARGET_OS_IPHONE - (id)andReturnNSRect:(NSRect)rect { return [self andReturnValue:[NSValue valueWithRect:rect]]; } @@ -44,6 +45,7 @@ CR_OCMOCK_RETURN_IMPL(UnsignedInteger, NSUInteger); - (id)andReturnCGPoint:(CGPoint)point { return [self andReturnNSPoint:NSPointFromCGPoint(point)]; } +#endif // !TARGET_OS_IPHONE @end |