summaryrefslogtreecommitdiff
path: root/lib/cpp/src/thrift/transport
diff options
context:
space:
mode:
authorKonrad Grochowski <hcorg@minions.org.pl>2013-06-22 22:03:31 +0200
committerRoger Meier <roger@apache.org>2013-06-22 22:03:31 +0200
commit9be4e687c49dad1f5d90e93e3b7247be16d50287 (patch)
tree030742b79fc6dfa92acbe56a13f95d651155068a /lib/cpp/src/thrift/transport
parent9753cde10d4b30ad45912842c374d0b7b4747a7e (diff)
downloadthrift-9be4e687c49dad1f5d90e93e3b7247be16d50287.tar.gz
THRIFT-2039 config.h --> thrift-config.h
Signed-off-by: Roger Meier <roger@apache.org>
Diffstat (limited to 'lib/cpp/src/thrift/transport')
-rw-r--r--lib/cpp/src/thrift/transport/TFileTransport.cpp4
-rw-r--r--lib/cpp/src/thrift/transport/TPipeServer.cpp4
-rw-r--r--lib/cpp/src/thrift/transport/TSSLSocket.cpp5
-rw-r--r--lib/cpp/src/thrift/transport/TServerSocket.cpp5
-rw-r--r--lib/cpp/src/thrift/transport/TSimpleFileTransport.cpp5
-rw-r--r--lib/cpp/src/thrift/transport/TSocket.cpp5
-rw-r--r--lib/cpp/src/thrift/transport/TSocketPool.cpp4
-rw-r--r--lib/cpp/src/thrift/transport/TTransportException.cpp5
8 files changed, 12 insertions, 25 deletions
diff --git a/lib/cpp/src/thrift/transport/TFileTransport.cpp b/lib/cpp/src/thrift/transport/TFileTransport.cpp
index 258a18ce6..c94ecd201 100644
--- a/lib/cpp/src/thrift/transport/TFileTransport.cpp
+++ b/lib/cpp/src/thrift/transport/TFileTransport.cpp
@@ -17,9 +17,7 @@
* under the License.
*/
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
+#include <thrift/thrift-config.h>
#include <thrift/transport/TFileTransport.h>
#include <thrift/transport/TTransportUtils.h>
diff --git a/lib/cpp/src/thrift/transport/TPipeServer.cpp b/lib/cpp/src/thrift/transport/TPipeServer.cpp
index 9c3b51bd1..10fc69b27 100644
--- a/lib/cpp/src/thrift/transport/TPipeServer.cpp
+++ b/lib/cpp/src/thrift/transport/TPipeServer.cpp
@@ -17,9 +17,7 @@
* under the License.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include <thrift/thrift-config.h>
#include <cstring>
#include <thrift/transport/TPipe.h>
diff --git a/lib/cpp/src/thrift/transport/TSSLSocket.cpp b/lib/cpp/src/thrift/transport/TSSLSocket.cpp
index 1af8aa70c..029c541bc 100644
--- a/lib/cpp/src/thrift/transport/TSSLSocket.cpp
+++ b/lib/cpp/src/thrift/transport/TSSLSocket.cpp
@@ -17,9 +17,8 @@
* under the License.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include <thrift/thrift-config.h>
+
#include <errno.h>
#include <string>
#ifdef HAVE_ARPA_INET_H
diff --git a/lib/cpp/src/thrift/transport/TServerSocket.cpp b/lib/cpp/src/thrift/transport/TServerSocket.cpp
index 4cb0fd125..dc3cb586e 100644
--- a/lib/cpp/src/thrift/transport/TServerSocket.cpp
+++ b/lib/cpp/src/thrift/transport/TServerSocket.cpp
@@ -17,9 +17,8 @@
* under the License.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include <thrift/thrift-config.h>
+
#include <cstring>
#include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H
diff --git a/lib/cpp/src/thrift/transport/TSimpleFileTransport.cpp b/lib/cpp/src/thrift/transport/TSimpleFileTransport.cpp
index 5bf571ddb..9af1445ef 100644
--- a/lib/cpp/src/thrift/transport/TSimpleFileTransport.cpp
+++ b/lib/cpp/src/thrift/transport/TSimpleFileTransport.cpp
@@ -17,9 +17,8 @@
* under the License.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include <thrift/thrift-config.h>
+
#include <thrift/transport/TSimpleFileTransport.h>
#include <sys/types.h>
diff --git a/lib/cpp/src/thrift/transport/TSocket.cpp b/lib/cpp/src/thrift/transport/TSocket.cpp
index 1cffa70dc..a9a752cfb 100644
--- a/lib/cpp/src/thrift/transport/TSocket.cpp
+++ b/lib/cpp/src/thrift/transport/TSocket.cpp
@@ -17,9 +17,8 @@
* under the License.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include <thrift/thrift-config.h>
+
#include <cstring>
#include <sstream>
#ifdef HAVE_SYS_SOCKET_H
diff --git a/lib/cpp/src/thrift/transport/TSocketPool.cpp b/lib/cpp/src/thrift/transport/TSocketPool.cpp
index fdc549380..c468fb31e 100644
--- a/lib/cpp/src/thrift/transport/TSocketPool.cpp
+++ b/lib/cpp/src/thrift/transport/TSocketPool.cpp
@@ -17,9 +17,7 @@
* under the License.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include <thrift/thrift-config.h>
#include <algorithm>
#include <iostream>
diff --git a/lib/cpp/src/thrift/transport/TTransportException.cpp b/lib/cpp/src/thrift/transport/TTransportException.cpp
index bd4f44b36..2c1f30324 100644
--- a/lib/cpp/src/thrift/transport/TTransportException.cpp
+++ b/lib/cpp/src/thrift/transport/TTransportException.cpp
@@ -21,9 +21,7 @@
#include <boost/lexical_cast.hpp>
#include <cstring>
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include <thrift/thrift-config.h>
using std::string;
using boost::lexical_cast;
@@ -31,4 +29,3 @@ using boost::lexical_cast;
namespace apache { namespace thrift { namespace transport {
}}} // apache::thrift::transport
-