diff options
-rw-r--r-- | UnitTesting/GTMSenTestCase.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/UnitTesting/GTMSenTestCase.m b/UnitTesting/GTMSenTestCase.m index 2d55936..5607c31 100644 --- a/UnitTesting/GTMSenTestCase.m +++ b/UnitTesting/GTMSenTestCase.m @@ -432,7 +432,7 @@ static int MethodSort(id a, id b, void *context) { @end // Leak detection -#if !GTM_IPHONE_DEVICE +#if !GTM_IPHONE_DEVICE && !GTM_SUPPRESS_RUN_LEAKS_HOOK // Don't want to get leaks on the iPhone Device as the device doesn't // have 'leaks'. The simulator does though. @@ -497,4 +497,4 @@ static __attribute__((constructor)) void _GTMInstallLeaks(void) { } } -#endif // !GTM_IPHONE_DEVICE +#endif // !GTM_IPHONE_DEVICE && !GTM_SUPPRESS_RUN_LEAKS_HOOK |