diff options
author | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2014-02-21 17:30:10 +0000 |
---|---|---|
committer | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2014-02-21 17:30:10 +0000 |
commit | c1d255be26ea580b559e9946eb48e2adfaa3db9b (patch) | |
tree | 14b2838dd4cd62c80b896c5913aa7c88142a0475 /UnitTesting | |
parent | 98dbb9126e1264f45ec637cb8570b3fbdf180258 (diff) |
Fix up some cases of GTM not compiling with -Wundef on.
DELTA=23 (16 added, 0 deleted, 7 changed)
Diffstat (limited to 'UnitTesting')
-rw-r--r-- | UnitTesting/GTMCodeCoverageApp.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/UnitTesting/GTMCodeCoverageApp.h b/UnitTesting/GTMCodeCoverageApp.h index 32c92c6..a487d40 100644 --- a/UnitTesting/GTMCodeCoverageApp.h +++ b/UnitTesting/GTMCodeCoverageApp.h @@ -22,8 +22,19 @@ #import <UIKit/UIKit.h> + +// Add GTM_IS_COVERAGE_BUILD to your GCC_PREPROCESSOR_DEFINITIONS for the +// Xcode Configuration that wants CodeCoverage support. +#ifndef GTM_IS_COVERAGE_BUILD +#define GTM_IS_COVERAGE_BUILD 0 +#endif + // If you are using this with XCTest (as opposed to SenTestingKit) // make sure to define GTM_USING_XCTEST. +#ifndef GTM_USING_XCTEST +#define GTM_USING_XCTEST 0 +#endif + #define GTMXCTestObserverClassKey @"XCTestObserverClass" #define GTMXCTestLogClass @"XCTestLog" |