commit | b80024d686a3e2b7f62c68d45bd606e01f0a9ef4 | [log] [tgz] |
---|---|---|
author | Andrew McGeachie <geechorama@apache.org> | Wed Apr 28 17:43:45 2010 +0000 |
committer | Andrew McGeachie <geechorama@apache.org> | Wed Apr 28 17:43:45 2010 +0000 |
tree | 42c326d07705af2dc2755fac07063737acf7e6b2 | |
parent | 7e36df1c07dda74187ad53ea1ff2d037fb3a67e5 [diff] |
THRIFT-762. Include CoreServices.h if we are not compiling on the iPhone. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@939024 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/cocoa/src/transport/TSocketClient.m b/lib/cocoa/src/transport/TSocketClient.m index b4183fb..74d4af9 100644 --- a/lib/cocoa/src/transport/TSocketClient.m +++ b/lib/cocoa/src/transport/TSocketClient.m
@@ -17,7 +17,12 @@ * under the License. */ #import "TSocketClient.h" -#import <CFNetwork/CFSocketStream.h> + +#if !TARGET_OS_IPHONE +#import <CoreServices/CoreServices.h> +#else +#import <CFNetwork/CFNetwork.h> +#endif @implementation TSocketClient