THRIFT-1504: Cocoa Generator should use local file imports for base Thrift headers
Client: cocoa
Patch: Steve White
Updates thrift headers as global imports instead of local imports
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1236503 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/compiler/cpp/src/generate/t_cocoa_generator.cc b/compiler/cpp/src/generate/t_cocoa_generator.cc
index 14ed478..9db5d27 100644
--- a/compiler/cpp/src/generate/t_cocoa_generator.cc
+++ b/compiler/cpp/src/generate/t_cocoa_generator.cc
@@ -270,11 +270,11 @@
*/
string t_cocoa_generator::cocoa_thrift_imports() {
string result = string() +
- "#import <TProtocol.h>\n" +
- "#import <TApplicationException.h>\n" +
- "#import <TProtocolUtil.h>\n" +
- "#import <TProcessor.h>\n" +
- "#import <TObjective-C.h>\n" +
+ "#import \"TProtocol.h\"\n" +
+ "#import \"TApplicationException.h\"\n" +
+ "#import \"TProtocolUtil.h\"\n" +
+ "#import \"TProcessor.h\"\n" +
+ "#import \"TObjective-C.h\"\n" +
"\n";
// Include other Thrift includes