You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by jf...@apache.org on 2012/01/27 04:06:54 UTC

svn commit: r1236503 - /thrift/trunk/compiler/cpp/src/generate/t_cocoa_generator.cc

Author: jfarrell
Date: Fri Jan 27 03:06:54 2012
New Revision: 1236503

URL: http://svn.apache.org/viewvc?rev=1236503&view=rev
Log:
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


Modified:
    thrift/trunk/compiler/cpp/src/generate/t_cocoa_generator.cc

Modified: thrift/trunk/compiler/cpp/src/generate/t_cocoa_generator.cc
URL: http://svn.apache.org/viewvc/thrift/trunk/compiler/cpp/src/generate/t_cocoa_generator.cc?rev=1236503&r1=1236502&r2=1236503&view=diff
==============================================================================
--- thrift/trunk/compiler/cpp/src/generate/t_cocoa_generator.cc (original)
+++ thrift/trunk/compiler/cpp/src/generate/t_cocoa_generator.cc Fri Jan 27 03:06:54 2012
@@ -270,11 +270,11 @@ string t_cocoa_generator::cocoa_imports(
  */
 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