Skip to content

Instantly share code, notes, and snippets.

View kumarjatin's full-sized avatar

Jatin Kumar kumarjatin

View GitHub Profile
@kumarjatin
kumarjatin / withoutcxx11.patch
Created July 17, 2015 03:29
Patch for thrift-0.9.1 to compile it without "-std=c++11" flag and other patches on mac osx 10.10.3.
diff --git a/lib/cpp/src/thrift/cxxfunctional.h b/lib/cpp/src/thrift/cxxfunctional.h
index c24b91b..d9921d7 100644
--- a/lib/cpp/src/thrift/cxxfunctional.h
+++ b/lib/cpp/src/thrift/cxxfunctional.h
@@ -86,19 +86,19 @@
}}} // apache::thrift::stdcxx
#elif _THRIFT_USING_CLANG_LIBCXX
- #include <functional>
+ #include <boost/tr1/functional.hpp>