28 #ifndef HYPERTABLE_COMPAT_H
29 #define HYPERTABLE_COMPAT_H
42 #ifndef BOOST_SPIRIT_THREADSAFE
43 # define BOOST_SPIRIT_THREADSAFE
46 #define BOOST_IOSTREAMS_USE_DEPRECATED
47 #define BOOST_FILESYSTEM_VERSION 3
48 #define BOOST_FILESYSTEM_DEPRECATED 1
50 #define HT_UNUSED(x) static_cast<void>(x)
52 template<
typename T,
typename... Ts>
54 return std::unique_ptr<T>(
new T(std::forward<Ts>(params)...));
57 #if defined(__APPLE__) || !defined(_GLIBCXX_HAVE_QUICK_EXIT)
59 inline void quick_exit(
int status) { _exit(status); }
65 #endif // HYPERTABLE_COMPAT_H
bool status(ContextPtr &context, Timer &timer, Status &status)
Runs a status check on the master.
std::unique_ptr< T > make_unique(Ts &&...params)
Required portability definitions for all .cc files.