aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--UnitTesting/GTMSenTestCase.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/UnitTesting/GTMSenTestCase.h b/UnitTesting/GTMSenTestCase.h
index 1d35591..8d72a48 100644
--- a/UnitTesting/GTMSenTestCase.h
+++ b/UnitTesting/GTMSenTestCase.h
@@ -57,9 +57,16 @@
#import <SenTestingKit/SenTestingKit.h>
#else
#import <Foundation/Foundation.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
NSString *STComposeString(NSString *, ...);
+#ifdef __cplusplus
+}
#endif
+#endif // !GTM_IPHONE_SDK
+
// Generates a failure when a1 != noErr
// Args:
// a1: should be either an OSErr or an OSStatus